aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/libnut.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-09-15 04:46:55 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-09-15 04:46:55 +0000
commit82eac2f3216534c065c5023e5599720bd17bed26 (patch)
tree6dc8782bb10b0d830e90f96fbf3d02e0baaffbc2 /libavformat/libnut.c
parent4faf628f2015b7c04510d39a99a2c52f11b765f3 (diff)
downloadffmpeg-82eac2f3216534c065c5023e5599720bd17bed26.tar.gz
Check avctx width/height more thoroughly (e.g. all values 0 except width would
have been accepted before). Also do not fail if they are invalid but instead override them to 0. This allows decoding e.g. MPEG video when only the container values are corrupted. For encoding a value of 0,0 of course makes no sense, but was allowed through before and will be caught by an extra check in the encode function. Originally committed as revision 25124 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/libnut.c')
0 files changed, 0 insertions, 0 deletions