diff options
author | Martin Storsjö <martin@martin.st> | 2013-09-28 23:42:40 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-09-29 19:58:56 +0300 |
commit | 9fc7184d1a9af8d97b3fc5c2ef9d0a647d6617ea (patch) | |
tree | 1490e3e532bcdb0d829ec5aae123e1386c9592fd /libavformat/daud.c | |
parent | a9221e39600a31ee13e736e9e47743cde23f0280 (diff) | |
download | ffmpeg-9fc7184d1a9af8d97b3fc5c2ef9d0a647d6617ea.tar.gz |
bfi: Avoid divisions by zero
If a zero-length video packet is to be returned, just return
AVERROR(EAGAIN) and switch back to the audio stream.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/daud.c')
0 files changed, 0 insertions, 0 deletions