From beb5886d467fea6b09b2d6265e1fc0cff2558a9a Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 19 Jan 2005 12:04:57 +0000 Subject: [PATCH] ext/ffmpeg/gstffmpegdec.c: Don't unref NULL data... Original commit message from CVS: * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame): Don't unref NULL data... --- ChangeLog | 5 +++++ ext/ffmpeg/gstffmpegdec.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9b4b359..4044595 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2005-01-19 Ronald S. Bultje + * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame): + Don't unref NULL data... + +2005-01-19 Ronald S. Bultje + * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init), (gst_ffmpegdec_open), (gst_ffmpegdec_frame), (gst_ffmpegdec_handle_event), (gst_ffmpegdec_chain): diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index 559c068..9d11b32 100644 --- a/ext/ffmpeg/gstffmpegdec.c +++ b/ext/ffmpeg/gstffmpegdec.c @@ -596,8 +596,6 @@ gst_ffmpegdec_frame (GstFFMpegDec * ffmpegdec, ffmpegdec->context->frame_rate_base / ffmpegdec->context->frame_rate; ffmpegdec->next_ts += GST_BUFFER_DURATION (outbuf); - } else { - gst_buffer_unref (outbuf); } break; -- 2.7.4