mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
cosmetics: be sure all lines fit into 79 characters
Originally committed as revision 9875 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
26ba823519
commit
feb7bc6771
9
ffplay.c
9
ffplay.c
@ -1252,10 +1252,11 @@ 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,
|
||||
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);
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user