[FFmpeg-devel] [PATCH] check read_packet before calling it

Benoit Fouet benoit.fouet
Wed Sep 26 09:18:42 CEST 2007


Michael Niedermayer wrote:
> Hi
> On Tue, Sep 25, 2007 at 08:51:33PM +0200, Benoit Fouet wrote:
>> Hi,
>> attached is a patch to $subj
> can you elaboarte a little on when read_packet is null

when it is not set in init_put_byte

>  and why
> changing fill_buffer to not fill anything is the correct behavior

well, if no read packet function is provided, we can not fill buffer

Purple Labs S.A.

More information about the ffmpeg-devel mailing list