提交 4e780252 编写于 作者: L Limin Wang 提交者: Diego Biurrun

Remove unnecessary the_end label.

patch by Limin Wang, lance.lmwang gmail com

Originally committed as revision 8287 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 6289025d
......@@ -714,7 +714,7 @@ static void do_video_out(AVFormatContext *s,
if (ost->video_crop) {
if (av_picture_crop((AVPicture *)&picture_crop_temp, (AVPicture *)in_picture, dec->pix_fmt, ost->topBand, ost->leftBand) < 0) {
av_log(NULL, AV_LOG_ERROR, "error cropping picture\n");
goto the_end;
return;
}
formatted_picture = &picture_crop_temp;
} else {
......@@ -729,7 +729,7 @@ static void do_video_out(AVFormatContext *s,
if (ost->video_resample) {
if (av_picture_crop((AVPicture *)&picture_pad_temp, (AVPicture *)final_picture, enc->pix_fmt, ost->padtop, ost->padleft) < 0) {
av_log(NULL, AV_LOG_ERROR, "error padding picture\n");
goto the_end;
return;
}
resampling_dst = &picture_pad_temp;
}
......@@ -828,8 +828,6 @@ static void do_video_out(AVFormatContext *s,
ost->sync_opts++;
ost->frame_number++;
}
the_end:
return;
}
static double psnr(double d){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册