Ticket #53325: patch-0002-LibavInteraction-fix.diff
File patch-0002-LibavInteraction-fix.diff, 646 bytes (added by kencu (Ken), 8 years ago) |
---|
-
./QTfrontend/util/LibavInteraction.cpp
old new 106 106 if (!pCodec->pix_fmts) 107 107 continue; 108 108 bool yuv420Supported = false; 109 for (const PixelFormat* pfmt = pCodec->pix_fmts; *pfmt != -1; pfmt++)110 if (*pfmt == PIX_FMT_YUV420P)109 for (const AVPixelFormat* pfmt = pCodec->pix_fmts; *pfmt != -1; pfmt++) 110 if (*pfmt == AV_PIX_FMT_YUV420P) 111 111 { 112 112 yuv420Supported = true; 113 113 break;