avcodec/h264_slice: Use AVFrame diemensions for grayscale handling
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Jun 2015 09:37:48 +0000 (11:37 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 20 Jul 2015 02:43:39 +0000 (04:43 +0200)
commit0afa8a6c859bbcaf38a347647d3945054d76be1f
treedeae0239c8926e4e17a190e379ef6570570bbcce
parent33ec70785f4a0ac3b2f93ef26cd1486e678c2d03
avcodec/h264_slice: Use AVFrame diemensions for grayscale handling

The AVFrame values are closer to the AVFrame bitmap changed instead of
the AVCodecContext values, so this should be more robust

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit aef0e0f009802f1a5e21eb6465498632071e4475)

Conflicts:

libavcodec/h264_slice.c
libavcodec/h264_slice.c