diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2013-02-18 08:15:52 -0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-18 21:44:22 +0100 |
commit | e2789d3e33991a08adda1f14c4f9f5ff4b865e9b (patch) | |
tree | 11970ec41edca9243e26c5c38d2c7bacb4eaf671 /libavcodec/mpeg4videodec.c | |
parent | 480ddf2bc9c0796493eb76203e255c4c84881947 (diff) | |
download | android_external_ffmpeg-e2789d3e33991a08adda1f14c4f9f5ff4b865e9b.tar.gz android_external_ffmpeg-e2789d3e33991a08adda1f14c4f9f5ff4b865e9b.tar.bz2 android_external_ffmpeg-e2789d3e33991a08adda1f14c4f9f5ff4b865e9b.zip |
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: Michael Niedermayer <michaelni@gmx.at>
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 cdb1f974e8..8bdc29363e 100644 --- a/libavcodec/mpeg4videodec.c +++ b/libavcodec/mpeg4videodec.c @@ -2359,7 +2359,7 @@ AVCodec ff_mpeg4_decoder = { .flush = ff_mpeg_flush, .max_lowres = 3, .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), .priv_class = &mpeg4_class, |