diff options
author | Martin Matuska <mm@FreeBSD.org> | 2011-06-28 13:26:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-06-28 13:42:02 +0200 |
commit | d052370c1eb5c50ad2dd2cac1b967699f42c62b0 (patch) | |
tree | 77bdc9fb09d413c1bf046bb7400eb431d98aae34 /libavutil/parseutils.c | |
parent | 1bf80a9a144852460d3c10c9461df214292ff82f (diff) | |
download | ffmpeg-d052370c1eb5c50ad2dd2cac1b967699f42c62b0.tar.gz |
pict_type: add a value for unknown/none.
In commit bebe72f4a05d338e04ae9ca1e9c6b72749b488aa, the enum AV_PICTURE_TYPE_* was introduced. There are still places in the code where pict_type is used as an integer and there is a case where "pict_type = 0" with the explanation "let ffmpeg decide what to do". The new enum does not know a value of 0 and C++ will fail if compiling such programs anyway as it is refered as an int (and you cannot patch them properly).
(cherry picked from commit 512933671409f9f88cc9fdfc8f29525d32240bab)
Diffstat (limited to 'libavutil/parseutils.c')
0 files changed, 0 insertions, 0 deletions