[FFmpeg-devel] camera files (no name)
Michael Niedermayer
michaelni
Sun Feb 8 17:44:18 CET 2009
On Sun, Feb 08, 2009 at 10:04:46AM -0500, nicolas martin wrote:
>
> Le 09-02-07 ? 21:56, Michael Niedermayer a ?crit :
>
>> On Sat, Feb 07, 2009 at 04:40:53PM -0500, nicolas martin wrote:
>> [...]
>>> +static int nc_read_packet(AVFormatContext *s, AVPacket *pkt)
>>> +{
>>> + int size;
>>> +
>>> + uint32_t state=-1;
>>
>>> + while (!url_feof(s->pb) && state != NC_VIDEO_FLAG)
>>> + state = (state<<8) + get_byte(s->pb);
>>> +
>>> + if (url_feof(s->pb))
>>> + return AVERROR(EIO);
>>
>>
>> while (state != NC_VIDEO_FLAG){
>> if (url_feof(s->pb))
>> return AVERROR(EIO);
>> state = (state<<8) + get_byte(s->pb);
>> }
>
> Fixed.
probaly ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- 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/20090208/0eab23ba/attachment.pgp>
More information about the ffmpeg-devel
mailing list