Ticket #9007: ffmpeg-vpcc-hwaccel-bit-depth.patch
| File ffmpeg-vpcc-hwaccel-bit-depth.patch, 411 bytes (added by , 6 years ago) |
|---|
-
libavformat/vpcc.c
diff --git a/libavformat/vpcc.c b/libavformat/vpcc.c index e0b7f288a6..3807679cbb 100644
a b static int get_bit_depth(AVFormatContext *s, enum AVPixelFormat pixel_format) 59 59 pixel_format); 60 60 return -1; 61 61 } 62 if (desc->flags & AV_PIX_FMT_FLAG_HWACCEL) { 63 return -1; 64 } 65 62 66 return desc->comp[0].depth; 63 67 } 64 68
