mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
mpeg2dec: initialize buffer
Buffer needs to be null before passing it to gst_buffer_pool_acquire_buffer() CID #1291634
This commit is contained in:
parent
35c937f2a4
commit
d077a3a300
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ gst_mpeg2dec_crop_buffer (GstMpeg2dec * dec, GstVideoCodecFrame * in_frame,
|
|||
GstVideoInfo *dinfo;
|
||||
GstVideoFrame output_frame;
|
||||
GstFlowReturn ret;
|
||||
GstBuffer *buffer;
|
||||
GstBuffer *buffer = NULL;
|
||||
|
||||
state = gst_video_decoder_get_output_state (GST_VIDEO_DECODER (dec));
|
||||
info = &state->info;
|
||||
|
|
Loading…
Reference in a new issue