mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 11:32:51 +00:00
omxvideodec: Make output buffer pointer always initialized
CID 1214605
This commit is contained in:
parent
c2e5dca5f0
commit
e542177c65
1 changed files with 1 additions and 1 deletions
|
@ -1303,7 +1303,7 @@ gst_omx_video_dec_loop (GstOMXVideoDec * self)
|
|||
flow_ret = gst_video_decoder_drop_frame (GST_VIDEO_DECODER (self), frame);
|
||||
frame = NULL;
|
||||
} else if (!frame && (buf->omx_buf->nFilledLen > 0 || buf->eglimage)) {
|
||||
GstBuffer *outbuf;
|
||||
GstBuffer *outbuf = NULL;
|
||||
|
||||
/* This sometimes happens at EOS or if the input is not properly framed,
|
||||
* let's handle it gracefully by allocating a new buffer for the current
|
||||
|
|
Loading…
Reference in a new issue