[FFmpeg-devel] h264_handle_packet
Panagiotis Issaris
takis.issaris
Thu Jun 7 16:16:59 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
The documentation of h264_handle_packet is rather strange... It states
that 0 or 1 can be returned and the description of when what is returned
is rather unclear IMO. Furthermore, in the implementation it appears
that only 0 or -1 are ever returned.
libavformat/rtp_h264.c:
...
161 // return 0 on packet, no more left, 1 on packet, 1 on partial packet...
162 static int h264_handle_packet(RTPDemuxContext * s,
163 AVPacket * pkt,
164 uint32_t * timestamp,
165 const uint8_t * buf,
166 int len)
167 {
...
With friendly regards,
Takis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGaBNb9kOxLuzz4CkRAhIvAJ4tkgXsNX8nMvKhigIQCFiyPyZNyQCfWuDi
o279DlIK9/s3RdE6iwRlAoM=
=MrK5
-----END PGP SIGNATURE-----
More information about the ffmpeg-devel
mailing list