[FFmpeg-trac] #4099(avcodec:closed): Regression in mpeg12dec? coded_width/height are left uninitialized
FFmpeg
trac at avcodec.org
Fri Jan 8 22:10:39 CET 2016
#4099: Regression in mpeg12dec? coded_width/height are left uninitialized
---------------------------------------+-----------------------------------
Reporter: Underground78 | Owner:
Type: defect | Status: closed
Priority: normal | Component: avcodec
Version: git-master | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------------+-----------------------------------
Changes (by michael):
* status: new => closed
* resolution: => invalid
Comment:
in mpeg1/2 the width/height is stored with the keyframes
as soon as one is decoded you have the correct value. Before one is
decoded the value is not always known. The code could leave your value but
you could then just find that with the first frame that the actual width /
height is different.
The 0,0 shows clearly that the value isnt know yet, leaving them
initialized to what the user set but then chaging them on the first frame
seems more confusing to me
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4099#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list