On 9/30/12 8:59 PM, Peter B. wrote:
Hello,

I'm working at the Austrian Mediathek (national audio/video archive) and
together with other archives we are using FFv1 as our archival video codec.

There have been major updates to FFv1, and its version 3 (FFv1.3) is
nearing its release.

I've tried to merge the code from ffmpeg to the current git-head of
libav, but I'm still running into compile errors:
//------------------
libavcodec/ffv1.c: In function ‘encode_slice’:
libavcodec/ffv1.c:1245:13: warning: passing argument 2 of ‘put_rac’ from
incompatible pointer type [enabled by default]
libavcodec/rangecoder.h:82:20: note: expected ‘uint8_t * const’ but
argument is of type ‘int *’
libavcodec/ffv1.c: In function ‘encode_frame’:
libavcodec/ffv1.c:1286:5: error: implicit declaration of function
‘ff_alloc_packet2’ [-Werror=implicit-function-declaration]
libavcodec/ffv1.c: In function ‘decode_slice’:
libavcodec/ffv1.c:1680:13: warning: passing argument 2 of ‘get_rac’ from
incompatible pointer type [enabled by default]
libavcodec/rangecoder.h:110:19: note: expected ‘uint8_t * const’ but
argument is of type ‘int *’
libavcodec/ffv1.c:1709:9: warning: passing argument 2 of ‘get_rac’ from
incompatible pointer type [enabled by default]
libavcodec/rangecoder.h:110:19: note: expected ‘uint8_t * const’ but
argument is of type ‘int *’
libavcodec/ffv1.c: In function ‘decode_frame’:
libavcodec/ffv1.c:2104:49: error: ‘AVCodecContext’ has no member named
‘pkt_timebase’
libavcodec/ffv1.c:2105:85: error: ‘AVCodecContext’ has no member named
‘pkt_timebase’
libavcodec/ffv1.c:2118:36: warning: cast discards
‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
libavcodec/ffv1.c:2136:53: warning: to be safe all intermediate pointers
in cast from ‘uint8_t **’ to ‘const uint8_t **’ must be ‘const’
qualified [-Wcast-qual]
cc1: some warnings being treated as errors
//------------------

As I'm not familiar with the code structure of neither ffmpeg nor libav,
I'd be happy if anyone here could help me out, so libav can support this
important format, too.


pkt_timebase reference could be dropped, not sure what got changed in the rangecoder let's have a look.

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to