summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2007-03-07 10:45:41 +0000
committerDiego Biurrun <diego@biurrun.de>2007-03-07 10:45:41 +0000
commit4e780252f41cbdf87b9283ce2a9e5fc8438f6da9 (patch)
tree5b514a68eb8422daacf3750b2e704e088587fb05 /ffmpeg.c
parent6289025d8c21ea19feddba7afec3b950ad4d502c (diff)
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
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index d43ee168e8..896c7f0163 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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){