examples/decoding_encoding: Use the AVFrame width/height for processing images after...
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Jun 2015 20:00:30 +0000 (22:00 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 13 Jun 2015 00:14:26 +0000 (02:14 +0200)
commitb8ba2d3915b3e74990c73b2671290d7ad312513e
tree0eba9d4227c04fadf29461c34c03cd67bf091982
parenta75d22445ecb7adbe3fb8f705cb4fd9aa0d6b5ee
examples/decoding_encoding: Use the AVFrame width/height for processing images after decoding

This is what FFmpeg / FFplay do and it is more robust

Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/examples/decoding_encoding.c