Commit 300aa2b0 authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

return error when dv audio extraction fails

Originally committed as revision 11913 to svn://
parent e6920f24
......@@ -1553,7 +1553,9 @@ static int mov_read_packet(AVFormatContext *s, AVPacket *pkt)
if (mov->dv_demux && sc->dv_audio_container) {
dv_produce_packet(mov->dv_demux, pkt, pkt->data, pkt->size);
dv_get_packet(mov->dv_demux, pkt);
pkt->size = 0;
if (dv_get_packet(mov->dv_demux, pkt) < 0)
return -1;
pkt->stream_index = sc->ffindex;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment