aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/demux_decode.c
Commit message (Collapse)AuthorAgeFilesLines
* doc/examples/demux_decode: Simplify loopMichael Niedermayer2024-05-091-3/+1
| | | | | | | Fixes: CID1463550 Logically dead code Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/imgutils: Add wrapper for av_image_copy() to avoid castsAndreas Rheinhardt2023-09-121-3/+3
| | | | | | | | | | | | av_image_copy() accepts const uint8_t* const * as source; lots of user have uint8_t* const * and therefore either cast (the majority) or copy the array of pointers. This commit changes this by adding a static inline wrapper for av_image_copy() that casts between the two types so that we do not need to add casts everywhere else. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/frame: deprecate AVFrame.coded_picture_number and display_picture_numberMarton Balint2023-02-131-2/+2
| | | | | | | | 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>
* examples: apply doxy entries consistency fixesStefano Sabatini2023-02-111-5/+5
| | | | Use consistent format for the @file field and file description.
* examples: rename demuxing_decoding to demux_decodeStefano Sabatini2023-02-111-0/+382
Follow general scheme VERB_OBJECT.