avcodec/mpeg12enc: Favor storing DAR instead of SAR

fixes Ticket 2689

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/68/head
Frederic Turmel 11 years ago committed by Michael Niedermayer
parent 77a0df4b5e
commit b217e1b057
  1. 2
      libavcodec/mpeg12enc.c

@ -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;
}

Loading…
Cancel
Save