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 <michaelni@gmx.at>
Wed, 10 Jun 2015 10:05:42 +0000 (12:05 +0200)
commit5a0862af55298259c4528645695c8348c830be38
tree832d38a04efde59f6a0caba3c13394ca98df58a3
parent6e94e77632df457da03b5c27fff8a1b976f6994d
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)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264_slice.c