Revision 05d33d86 ffplay.c

View differences:

ffplay.c
1445 1445
        sws_flags = av_get_int(sws_opts, "sws_flags", NULL);
1446 1446
        is->img_convert_ctx = sws_getCachedContext(is->img_convert_ctx,
1447 1447
            vp->width, vp->height, vp->pix_fmt, vp->width, vp->height,
1448
            PIX_FMT_YUV_420P, sws_flags, NULL, NULL, NULL);
1448
            PIX_FMT_YUV420P, sws_flags, NULL, NULL, NULL);
1449 1449
        if (is->img_convert_ctx == NULL) {
1450 1450
            fprintf(stderr, "Cannot initialize the conversion context\n");
1451 1451
            exit(1);

Also available in: Unified diff