Commit b217e1b0 authored by Frederic Turmel's avatar Frederic Turmel Committed by Michael Niedermayer

avcodec/mpeg12enc: Favor storing DAR instead of SAR

fixes Ticket 2689
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 77a0df4b
......@@ -264,7 +264,7 @@ static void mpeg1_encode_sequence_header(MpegEncContext *s)
error = FFABS(error);
if (error < best_aspect_error) {
if (error <= best_aspect_error) {
best_aspect_error = error;
s->aspect_ratio_info = i;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment