yuv4mpeg: reject unsupported codecs
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 26 Oct 2012 20:55:04 +0000 (22:55 +0200)
committerReinhard Tartler <siretart@tauware.de>
Sat, 12 Jan 2013 18:20:27 +0000 (19:20 +0100)
commitf3f22f183fa298f73b1c6a27a19436a22d7ff23a
tree9b9832592dff2b7ede926987e4e9289bdc07bc6f
parentbfbff1c7483cd423ef7e0618cd67adf7d988376a
yuv4mpeg: reject unsupported codecs

The muxer already rejects unsupported pixel formats, reject also
unsupported codecs to prevent dangerous misuses.
(cherry picked from commit 424b1e764263b1493de4c34365ef367ddae856db)

Conflicts:

libavformat/yuv4mpeg.c

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/yuv4mpeg.c