ext/ffmpeg/gstffmpegdec.c: Don't unref NULL data...
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Wed, 19 Jan 2005 12:04:57 +0000 (12:04 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Wed, 19 Jan 2005 12:04:57 +0000 (12:04 +0000)
Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
Don't unref NULL data...

ChangeLog
ext/ffmpeg/gstffmpegdec.c

index 9b4b359..4044595 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
 
+       * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
+         Don't unref NULL data...
+
+2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
+
        * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
        (gst_ffmpegdec_open), (gst_ffmpegdec_frame),
        (gst_ffmpegdec_handle_event), (gst_ffmpegdec_chain):
index 559c068..9d11b32 100644 (file)
@@ -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;