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>
Sat, 26 Mar 2016 20:52:47 +0000 (21:52 +0100)
commit50a639a62aa3fdef8a8a701e500acaf61a25c6ff
treee764b703d5e3da821d327aa01b65cfde3f6af16f
parentd6adcab84280f1cb35ad25e22c6acd5b01c50c08
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