avcodec/mjpegenc_common: Store approximate aspect if exact cannot be stored
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 19 Mar 2016 14:41:30 +0000 (15:41 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 28 Apr 2016 01:47:13 +0000 (03:47 +0200)
commitc6bb7659726728d9c523b168f08c8d04aec75433
tree2741d45cfc6ac9d1863734a1293797cdb473db8f
parent24bd4b363ecd647f087d641e8f6b3f7847b1114e
avcodec/mjpegenc_common: Store approximate aspect if exact cannot be stored

Fixes Ticket5244

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 068026b0f7845e0f1850094d974f60d181480d64)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mjpegenc_common.c