Remove unreachable code

This commit is contained in:
Sebastian Dröge 2009-02-22 19:43:19 +01:00
parent 6fc19a2c49
commit 0a697e42d1

View file

@ -2100,9 +2100,6 @@ gst_ffmpeg_caps_with_codecid (enum CodecID codec_id,
context->extradata_size = size; context->extradata_size = size;
} }
if (free)
gst_buffer_unref (GST_BUFFER_CAST (buf));
GST_DEBUG ("have codec data of size %d", size); GST_DEBUG ("have codec data of size %d", size);
} else if (context->extradata == NULL) { } else if (context->extradata == NULL) {
/* no extradata, alloc dummy with 0 sized, some codecs insist on reading /* no extradata, alloc dummy with 0 sized, some codecs insist on reading