mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
avvidenc: Fix indention and "bracketing" of goto labels
Should fix CID 1219865, which looks like the code analysis algorithm was just confused.
This commit is contained in:
parent
2ef3c94b82
commit
406d5ba04a
1 changed files with 5 additions and 2 deletions
|
@ -546,13 +546,16 @@ bad_input_fmt:
|
|||
oclass->in_plugin->name);
|
||||
goto close_codec;
|
||||
}
|
||||
close_codec:
|
||||
{
|
||||
close_codec:
|
||||
gst_ffmpeg_avcodec_close (ffmpegenc->context);
|
||||
if (avcodec_get_context_defaults3 (ffmpegenc->context,
|
||||
oclass->in_plugin) < 0)
|
||||
GST_DEBUG_OBJECT (ffmpegenc, "Failed to set context defaults");
|
||||
cleanup_stats_in:
|
||||
goto cleanup_stats_in;
|
||||
}
|
||||
cleanup_stats_in:
|
||||
{
|
||||
if (ffmpegenc->context->stats_in)
|
||||
g_free (ffmpegenc->context->stats_in);
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue