1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-06 02:05:36 +02:00

avcodec/mpeg12enc: Favor storing DAR instead of SAR

fixes Ticket 2689

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Frederic Turmel 2014-05-15 15:02:16 -07:00 committed by Michael Niedermayer
parent 77a0df4b5e
commit b217e1b057

View File

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