avviddec: Fix memory leak if we already allocated an output buffer for the frame

This commit is contained in:
Sebastian Dröge 2012-12-11 10:34:42 +00:00
parent 76b8b8c67f
commit 06de84c747

View file

@ -588,6 +588,7 @@ fallback:
duplicate_frame:
{
GST_WARNING_OBJECT (ffmpegdec, "already alloc'ed output buffer for frame");
gst_video_codec_frame_unref (frame);
return -1;
}
no_frame: