[FFmpeg-devel] lavf probing

Diego Biurrun diego
Sun Jun 10 22:35:16 CEST 2007


On Sun, Jun 10, 2007 at 03:39:15AM +0200, Michael Niedermayer wrote:
> 
> On Sat, Jun 09, 2007 at 09:22:18PM -0400, Ronald S. Bultje wrote:
> > 
> > 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
> > >found
> > >> > 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.
> 
> looks ok

Applied.

Diego




More information about the ffmpeg-devel mailing list