# HG changeset patch # User benoit # Date 1235722163 0 # Node ID f49b1c1d2c16df2be33835611eb23b776f275074 # Parent 3c5920f57063741b696b45d2ab0bdfc238a567de Add ff_hwaccel_pixfmt_list_420[] definition. Patch by Gwenole Beauchesne. diff -r 3c5920f57063 -r f49b1c1d2c16 mpegvideo.c --- a/mpegvideo.c Thu Feb 26 23:47:32 2009 +0000 +++ b/mpegvideo.c Fri Feb 27 08:09:23 2009 +0000 @@ -80,6 +80,11 @@ 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; diff -r 3c5920f57063 -r f49b1c1d2c16 mpegvideo.h --- a/mpegvideo.h Thu Feb 26 23:47:32 2009 +0000 +++ b/mpegvideo.h Fri Feb 27 08:09:23 2009 +0000 @@ -709,6 +709,7 @@ void ff_copy_picture(Picture *dst, Picture *src); extern const enum PixelFormat ff_pixfmt_list_420[]; +extern const enum PixelFormat ff_hwaccel_pixfmt_list_420[]; static inline void ff_update_block_index(MpegEncContext *s){ const int block_size= 8>>s->avctx->lowres;