mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
ext/ffmpeg/gstffmpegdec.c: Small parsing fix in comb. with ffdemux_mpeg.
Original commit message from CVS: * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain): Small parsing fix in comb. with ffdemux_mpeg.
This commit is contained in:
parent
52ed38c1a4
commit
7d7f3618a4
2 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-12-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
|
||||
Small parsing fix in comb. with ffdemux_mpeg.
|
||||
|
||||
2004-12-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
|
||||
|
|
|
@ -498,12 +498,9 @@ gst_ffmpegdec_chain (GstPad * pad, GstData * _data)
|
|||
expected_ts / (GST_SECOND / AV_TIME_BASE),
|
||||
expected_ts / (GST_SECOND / AV_TIME_BASE));
|
||||
|
||||
if (res == 0)
|
||||
if (res == 0 || size == 0)
|
||||
break;
|
||||
else if (size == 0) {
|
||||
bsize = 0;
|
||||
break;
|
||||
} else {
|
||||
else {
|
||||
bsize -= res;
|
||||
bdata += res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue