Don't try to continue parsing stuff after an error but skip the junk
Original commit message from CVS: Don't try to continue parsing stuff after an error but skip the junk
This commit is contained in:
parent
66776ccfa7
commit
ff9836e8aa
@ -456,6 +456,7 @@ gst_mad_chain (GstPad *pad, GstBuffer *buffer)
|
||||
return;
|
||||
}
|
||||
/* recoverable errors pass */
|
||||
goto next;
|
||||
}
|
||||
|
||||
/* calculate beginning of next frame */
|
||||
@ -544,6 +545,7 @@ gst_mad_chain (GstPad *pad, GstBuffer *buffer)
|
||||
}
|
||||
|
||||
gst_pad_push (mad->srcpad, outbuffer);
|
||||
next:
|
||||
|
||||
/* figure out how many bytes mad consumed */
|
||||
consumed = mad->stream.next_frame - mad_input_buffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user