diff options
author | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2009-02-27 08:09:23 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2009-02-27 08:09:23 +0000 |
commit | 044f0296a4a6b57d6bc3e9e8da5f27c10e7ebb34 (patch) | |
tree | 603951a274609a2050a8bdb1d27255bb88615981 /libavcodec/mpegvideo.c | |
parent | 3bc5f6f9a6418682d91d0e01bdbe58ec91bf905a (diff) | |
download | ffmpeg-streaming-044f0296a4a6b57d6bc3e9e8da5f27c10e7ebb34.zip ffmpeg-streaming-044f0296a4a6b57d6bc3e9e8da5f27c10e7ebb34.tar.gz |
Add ff_hwaccel_pixfmt_list_420[] definition.
Patch by Gwenole Beauchesne.
Originally committed as revision 17633 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 38aa4d2..b417c68 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -80,6 +80,11 @@ const enum PixelFormat ff_pixfmt_list_420[] = { PIX_FMT_NONE }; +const enum PixelFormat ff_hwaccel_pixfmt_list_420[] = { + PIX_FMT_YUV420P, + PIX_FMT_NONE +}; + const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){ int i; |