Commit bec1a1e3 authored by cehoyos's avatar cehoyos

Do not return -1 from void functions.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13080 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 35fe4ca2
...@@ -126,7 +126,7 @@ static void libschroedinger_handle_first_access_unit(AVCodecContext *avccontext) ...@@ -126,7 +126,7 @@ static void libschroedinger_handle_first_access_unit(AVCodecContext *avccontext)
av_log(avccontext, AV_LOG_ERROR, "invalid dimensions (%dx%d)\n", av_log(avccontext, AV_LOG_ERROR, "invalid dimensions (%dx%d)\n",
p_schro_params->format->width, p_schro_params->format->height); p_schro_params->format->width, p_schro_params->format->height);
avccontext->height = avccontext->width = 0; avccontext->height = avccontext->width = 0;
return -1; return;
} }
avccontext->height = p_schro_params->format->height; avccontext->height = p_schro_params->format->height;
avccontext->width = p_schro_params->format->width; avccontext->width = p_schro_params->format->width;
...@@ -138,7 +138,7 @@ static void libschroedinger_handle_first_access_unit(AVCodecContext *avccontext) ...@@ -138,7 +138,7 @@ static void libschroedinger_handle_first_access_unit(AVCodecContext *avccontext)
av_log (avccontext, AV_LOG_ERROR, av_log (avccontext, AV_LOG_ERROR,
"This codec currently only supports planar YUV 4:2:0, 4:2:2 " "This codec currently only supports planar YUV 4:2:0, 4:2:2 "
"and 4:4:4 formats.\n"); "and 4:4:4 formats.\n");
return -1; return;
} }
avccontext->time_base.den = p_schro_params->format->frame_rate_numerator; avccontext->time_base.den = p_schro_params->format->frame_rate_numerator;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment