[FFmpeg-devel] ffmpeg.git test compile fail

James Almer jamrial at gmail.com
Wed Apr 9 14:54:05 EEST 2025


On 4/9/2025 8:49 AM, Andrew Randrianasulu wrote:
> ffmpeg shallow git copy
> 
> commit 890b8da1ce27fd365eaffefc7efcbadae9f01f2a
> 
> our patches 2 and 8 fail, but this is not really my point yet ....
> 
> 
> ffmpeg.C:313:42: error: 'avcodec_close' was not declared in this scope; did
> you mean 'avio_close'?
> ffmpeg.C:476:33: error: 'avcodec_close' was not declared in this scope; did
> you mean 'avio_close'?
> ffmpeg.C:1307:37: error: 'AVFrame' {aka 'struct AVFrame'} has no member
> named 'interlaced_frame'
> ffmpeg.C:1309:37: error: 'AVFrame' {aka 'struct AVFrame'} has no member
> named 'interlaced_frame'
> ffmpeg.C:1309:66: error: 'AVFrame' {aka 'struct AVFrame'} has no member
> named 'top_field_first'
> ffmpeg.C:1311:37: error: 'AVFrame' {aka 'struct AVFrame'} has no member
> named 'interlaced_frame'
> ffmpeg.C:1311:67: error: 'AVFrame' {aka 'struct AVFrame'} has no member
> named 'top_field_first'
> ffmpeg.C:1340:36: error: 'AVFrame' {aka 'struct AVFrame'} has no member
> named 'key_frame'
> ffmpeg.C:1512:24: error: 'AVFrame' {aka 'struct AVFrame'} has no member
> named 'interlaced_frame'
> ffmpeg.C:1513:24: error: 'AVFrame' {aka 'struct AVFrame'} has no member
> named 'top_field_first'
> ffmpeg.C:3847:29: error: 'av_stream_get_side_data' was not declared in this
> scope; did you mean 'av_frame_get_side_data'?
> 
> mplayer switched for now to branch 7.1 until it get updates.
> 
> i see in doc/APIchanges
> 
> 
> 2023-05-04 - 0fc9c1f6828 - lavu 58.7.100 - frame.h
>                           Deprecate AVFrame.interlaced_frame,
> AVFrame.top_field_first, and
>    AVFrame.key_frame.
>    Add AV_FRAME_FLAG_INTERLACED, AV_FRAME_FLAG_TOP_FIELD_FIRST, and
>    AV_FRAME_FLAG_KEY flags as replacement.
> 
> but not sure how to use them yet.
Those are flags. You need to check AVFrame->flags to see if they are set.
See 
https://code.videolan.org/videolan/x264/-/merge_requests/173/diffs?commit_id=32c3b801191522961102d4bea292cdb61068d0dd 
for an example.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250409/b5f6510b/attachment.sig>


More information about the ffmpeg-devel mailing list