[FFmpeg-devel] lavf probing
Ronald S. Bultje
Sun Jun 10 03:22:18 CEST 2007
On 6/9/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sat, Jun 09, 2007 at 08:53:25PM -0400, Ronald S. Bultje wrote:
> > On 6/9/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> > > if you tried greping for PROBE in the public headers, you would have
> > > AVPROBE_PADDING_SIZE which i belive would awnser your question
> > So what if size is 0 and buf is NULL? Am I not allowed to call probe
> > functions like that?
> well, NO
> why would you want to? a file with size 0 cant be probed based on content
I don't want to, but the rtsp code can trigger it (it does here; see
original email, second paragraph). Attached patch is probably the right fix.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 664 bytes
Desc: not available
More information about the ffmpeg-devel