# HG changeset patch # User reimar # Date 1329166379 0 # Node ID e0c6b271d55bcb9be78480451ec9b3f9baaafb9d # Parent fde6f34c5eb04bd03946fc6777a8dec9e8ca10d6 Do not parse the extended aspect info into the fields used for video size. This resulted in -identify showing the aspect settings as video width/height. Since aspect is ignored in general (i.e. also when a preset aspect is encoded) this should not break anything. diff -r fde6f34c5eb0 -r e0c6b271d55b libmpdemux/mpeg_hdr.c --- a/libmpdemux/mpeg_hdr.c Mon Feb 13 19:36:01 2012 +0000 +++ b/libmpdemux/mpeg_hdr.c Mon Feb 13 20:52:59 2012 +0000 @@ -325,10 +325,8 @@ n += 8; if(picture->aspect_ratio_information == 255) { - picture->display_picture_width = (getbits(buf, n, 8) << 8) | getbits(buf, n + 8, 8); + // aspect numerator and denominator n += 16; - - picture->display_picture_height = (getbits(buf, n, 8) << 8) | getbits(buf, n + 8, 8); n += 16; } }