aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/decode_video.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: add AVCodecContext.frame_num as 64 bit variant to frame_numberMarton Balint2023-02-131-2/+2
| | | | | | | | | | Frame counters can overflow relatively easily (INT_MAX number of frames is slightly more than 1 year for 60 fps content), so make sure we use 64 bit values for them. Also deprecate the old 32 bit frame_number attribute. Signed-off-by: Marton Balint <cus@passwd.hu>
* examples: apply doxy entries consistency fixesStefano Sabatini2023-02-111-3/+4
| | | | Use consistent format for the @file field and file description.
* examples/decode_video: flush parser to fix missing frameZhao Zhili2022-04-221-4/+8
| | | | Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* doc/examples: Always open files as "binary", not "text".Carl Eugen Hoyos2020-08-251-1/+1
| | | | Fixes ticket #8638.
* doc/examples/decode_video: add input file format information for usageSteven Liu2019-08-261-1/+2
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* examples: Don't call deprecated functions which don't do anythingMark Thompson2018-02-091-2/+0
|
* doc/examples/decode_video: Fix format string vulnerabilityMichael Niedermayer2017-04-091-1/+1
| | | | | | Fixes: CID1404843 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'c7ab0eb3050acdd3b8cab2c55fc9c1b2e8610a65'James Almer2017-04-041-7/+10
|\ | | | | | | | | | | | | * commit 'c7ab0eb3050acdd3b8cab2c55fc9c1b2e8610a65': examples/decode_video: allocate the packet dynamically Merged-by: James Almer <jamrial@gmail.com>
| * examples/decode_video: allocate the packet dynamicallyAnton Khirnov2016-11-231-5/+8
| | | | | | | | AVPackets on stack are discouraged.
* | Merge commit '728ea23cce07467b732f538c87c13da13dd6dcf3'James Almer2017-04-041-22/+23
|\| | | | | | | | | | | | | * commit '728ea23cce07467b732f538c87c13da13dd6dcf3': examples/decode_video: switch to the new decoding API Merged-by: James Almer <jamrial@gmail.com>
| * examples/decode_video: switch to the new decoding APIAnton Khirnov2016-11-231-20/+23
| |
* | Merge commit 'f78d360bba6dcfb585847a49a84e89c25950fbdb'James Almer2017-04-041-54/+56
|\| | | | | | | | | | | | | * commit 'f78d360bba6dcfb585847a49a84e89c25950fbdb': examples/decode_video: use a parser for splitting the input Merged-by: James Almer <jamrial@gmail.com>
| * examples/decode_video: use a parser for splitting the inputAnton Khirnov2016-11-231-57/+56
| | | | | | | | | | Do not rely on the decoder handling this, as it's not guaranteed to work.
| * examples/decode_video: remove a stray unrelated commentAnton Khirnov2016-11-021-2/+0
| |
* | Merge commit '8191f960a669819db4de33a2439ded1630b8a73e'Clément Bœsch2017-03-291-1/+1
|\| | | | | | | | | | | | | * commit '8191f960a669819db4de33a2439ded1630b8a73e': examples/decode_video: constify the AVCodec instance Merged-by: Clément Bœsch <u@pkh.me>
| * examples/decode_video: constify the AVCodec instanceAnton Khirnov2016-11-021-1/+1
| |
* | Merge commit '7b1f03477f1a43d2261fbd83e50a4ad90c7f806d'Clément Bœsch2017-03-291-66/+70
|/ | | | | | | * commit '7b1f03477f1a43d2261fbd83e50a4ad90c7f806d': examples/avcodec: split the remaining two examples into separate files Merged-by: Clément Bœsch <u@pkh.me>
* examples/avcodec: split the remaining two examples into separate filesAnton Khirnov2016-11-021-0/+178