aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/paf.c
diff options
context:
space:
mode:
authorAndriy Gelman <andriy.gelman@gmail.com>2019-11-04 22:32:59 -0500
committerMichael Niedermayer <michael@niedermayer.cc>2019-11-06 20:38:03 +0100
commit7b2ce27e56cfb4c55490035283a687251061bb50 (patch)
treebe2719cad183999d84ea0934e6cf1521e97f3eaf /libavformat/paf.c
parenta0c74060754821d2b04b84860d2d56ed15c08738 (diff)
downloadffmpeg-7b2ce27e56cfb4c55490035283a687251061bb50.tar.gz
avdevice/v4l2: Remove av_assert0 when format not supported
Before this commit an av_assert0 would fail if a v4l2 device did not support a target format. For example, ./ffmpeg -f v4l2 -codec:v h264 -i /dev/video0 -f mpegts - would signal an abort if /dev/video0 did not support h264. The new behaviour is to return an AVERROR(EINVAL) error code. An av_assert0 has been added to verify this return. Fixes #6629 Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/paf.c')
0 files changed, 0 insertions, 0 deletions