diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2013-02-18 20:15:52 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-03-06 23:18:50 +0400 |
commit | 8d061989dd0397da15aa29f52d243fe125bf2f5e (patch) | |
tree | 699546f4517dee6841f701ff8282c366e0efb22b /libavcodec/mpeg4videodec.c | |
parent | 5a4e9fe855282a99586050a507d0a486ad39df5b (diff) |
lavc: Split out ff_hwaccel_pixfmt_list_420[] over individual codecs
Not all hwaccels implement all codecs, so using one single list for
multiple such codecs means some codecs will be represented in the list,
even though they don't actually handle that codec. Copying specific
lists in each codec fixes that.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/mpeg4videodec.c')
-rw-r--r-- | libavcodec/mpeg4videodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index ebc74a74b6..3f889932d2 100644 --- a/libavcodec/mpeg4videodec.c +++ b/libavcodec/mpeg4videodec.c @@ -2270,7 +2270,7 @@ AVCodec ff_mpeg4_decoder = { CODEC_CAP_FRAME_THREADS, .flush = ff_mpeg_flush, .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2"), - .pix_fmts = ff_hwaccel_pixfmt_list_420, + .pix_fmts = ff_h263_hwaccel_pixfmt_list_420, .profiles = NULL_IF_CONFIG_SMALL(mpeg4_video_profiles), .update_thread_context = ONLY_IF_THREADS_ENABLED(ff_mpeg_update_thread_context), }; |