#43 avcodecdecode.c Build Error

v1.0 (example)
closed-fixed
nobody
None
5
2015-03-23
2012-11-30
Chris Pitt
No

When compiling the latest version of idjc pulled from git I get the following:

avcodecdecode.c: In function 'avformatinfo':
avcodecdecode.c:340:23: error: 'AV_METADATA_DONT_STRDUP_KEY' undeclared (first use in this function)
avcodecdecode.c:340:23: note: each undeclared identifier is reported only once for each function it appears in
avcodecdecode.c:340:53: error: 'AV_METADATA_DONT_STRDUP_VAL' undeclared (first use in this function)
make[2]: *** [idjc_la-avcodecdecode.lo] Error 1

A quick bit of research shows that AV_METADATA_ was recently replaced with AV_DICT_, making the change in the file allows the compile to continue.

Discussion

  • It was essentially dead code and an annual maintenance chore so I removed it.

     
    • status: open --> closed-fixed
    • Group: --> v1.0 (example)