diff options
-rw-r--r-- | libavcodec/mpeg12enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index 0b20304517..52a0a4069f 100644 --- a/libavcodec/mpeg12enc.c +++ b/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; } |