diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2007-08-03 22:45:44 +0400 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2007-08-03 22:45:44 +0400 |
commit | 26ba8235191ed5a8e9d38b03bc7f33aba3c89bb9 (patch) | |
tree | 9614d2eb7aeab49914e954179752cc25e023a43c /ffplay.c | |
parent | 1a3f0ca2e051f560ca91d196d36dbd0b397d0912 (diff) |
cosmetics: indent correctly
Originally committed as revision 9874 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1252,14 +1252,14 @@ static int queue_picture(VideoState *is, AVFrame *src_frame, double pts) pict.linesize[0] = vp->bmp->pitches[0]; pict.linesize[1] = vp->bmp->pitches[2]; pict.linesize[2] = vp->bmp->pitches[1]; - img_convert_ctx = sws_getCachedContext(img_convert_ctx, is->video_st->codec->width, + img_convert_ctx = sws_getCachedContext(img_convert_ctx, is->video_st->codec->width, is->video_st->codec->height, is->video_st->codec->pix_fmt, is->video_st->codec->width, is->video_st->codec->height, dst_pix_fmt, sws_flags, NULL, NULL, NULL); - if (img_convert_ctx == NULL) { - fprintf(stderr, "Cannot initialize the conversion context\n"); - exit(1); - } + if (img_convert_ctx == NULL) { + fprintf(stderr, "Cannot initialize the conversion context\n"); + exit(1); + } sws_scale(img_convert_ctx, src_frame->data, src_frame->linesize, 0, is->video_st->codec->height, pict.data, pict.linesize); /* update the bitmap content */ |