[FFmpeg-devel] [PATCH]Silence warnings when decoding Q264

Michael Niedermayer michaelni at gmx.at
Fri Dec 2 22:02:47 CET 2011


On Fri, Dec 02, 2011 at 08:55:21PM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> QNAP offers surveillance cameras that provide a H264 stream whose frames all 
> start with "Q264". Some frames are empty, the non-empty ones have a "5" at the 
> tenth position of the frame in the two samples we have.
> Attached patch fixes the warnings from ticket 571.
> 
> Please comment, Carl Eugen

the parser should not discard data, it could for example break stream
copy when the resulting file would be played with the official player

what seems correct to me, would be to pass the frames on but hide
the warnings.

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111202/21555e36/attachment.asc>


More information about the ffmpeg-devel mailing list