kimastergeorge <[EMAIL PROTECTED]> added the comment:

I couldn't attach the patch, so I simply copy-and-pasted it here:
Index: libavcodec/mpeg12enc.c
===================================================================
--- libavcodec/mpeg12enc.c      (revision 13909)
+++ libavcodec/mpeg12enc.c      (working copy)
@@ -272,8 +272,8 @@

                 put_bits(&s->pb, 1, s->progressive_sequence);
                 put_bits(&s->pb, 2, s->chroma_format);
-                put_bits(&s->pb, 2, 0); //horizontal size ext
-                put_bits(&s->pb, 2, 0); //vertical size ext
+                put_bits(&s->pb, 2, s->width >> 12); //horizontal size ext
+                put_bits(&s->pb, 2, s->height >> 12); //vertical size ext
                 put_bits(&s->pb, 12, v>>18); //bitrate ext
                 put_bits(&s->pb, 1, 1); //marker
                 put_bits(&s->pb, 8, vbv_buffer_size >>10); //vbv buffer ext

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue499>
______________________________________________________

Reply via email to