diff options
author | Marton Balint <cus@passwd.hu> | 2023-01-28 18:36:22 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2023-02-13 00:37:50 +0100 |
commit | 22960783978d9e0b6d4a4ed21f503bd24662aa7e (patch) | |
tree | 676c54c183aec3576b70819c4e4c97f857c8bfab /doc/examples | |
parent | 8e2c1249044e9207c88c13764797676d403e3f57 (diff) | |
download | ffmpeg-22960783978d9e0b6d4a4ed21f503bd24662aa7e.tar.gz |
avutil/frame: deprecate AVFrame.coded_picture_number and display_picture_number
Their usefulness is questionable, very few decoders set them, and their type
should have been int64_t. A replacement field can be added later if a valid use
case is found.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/demux_decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/demux_decode.c b/doc/examples/demux_decode.c index ebef7a6114..298a369f43 100644 --- a/doc/examples/demux_decode.c +++ b/doc/examples/demux_decode.c @@ -73,8 +73,8 @@ static int output_video_frame(AVFrame *frame) return -1; } - printf("video_frame n:%d coded_n:%d\n", - video_frame_count++, frame->coded_picture_number); + printf("video_frame n:%d\n", + video_frame_count++); /* copy decoded frame to destination buffer: * this is required since rawvideo expects non aligned data */ |