[FFmpeg-devel] Fwd: get_ue_golomb_31() vs. get_ue_golomb()

Michael Niedermayer michaelni
Mon Apr 26 23:01:58 CEST 2010


On Thu, Apr 22, 2010 at 02:28:47PM -0700, Monica Morogan wrote:
> Hello everybody,
> 
> I use ffmpeg-0.5.1 to decode h264 streams and I am finding that the
> next functions
> ff_h264_decode_seq_parameter_set and
> ff_h264_decode_picture_parameter_set
> 
> do not decode correctly the following sequence of SPS/PPS.
> 
>  00 00 00 01 27 42 80 1E 04 05 68 14 1F 90 00 00 00 01 28 04 00 80 E0 7F 20
> 
> 
> The sps_id ( = get_ue_golomb_31()) returns 32 instead of the correct value 31.
> Same when getting the sps_id from the PPS. Since 32 is out of the range (0-31).
> the decoding stops.

it would help if you could provide a short test h264 test file so we can
reproduce this problem

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100426/8eea0d54/attachment.pgp>



More information about the ffmpeg-devel mailing list