mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
avdec: small cleanup
This commit is contained in:
parent
41ad632275
commit
c9878e9f86
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ gst_ffmpegviddec_get_buffer (AVCodecContext * context, AVFrame * picture)
|
||||||
/* Fill avpicture */
|
/* Fill avpicture */
|
||||||
info = &ffmpegdec->output_state->info;
|
info = &ffmpegdec->output_state->info;
|
||||||
if (!gst_video_frame_map (&dframe->vframe, info, dframe->frame->output_buffer,
|
if (!gst_video_frame_map (&dframe->vframe, info, dframe->frame->output_buffer,
|
||||||
GST_MAP_READ | GST_MAP_WRITE))
|
GST_MAP_READWRITE))
|
||||||
goto invalid_frame;
|
goto invalid_frame;
|
||||||
dframe->mapped = TRUE;
|
dframe->mapped = TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue