[FFmpeg-devel] lavf probing

Michael Niedermayer michaelni
Sun Jun 10 03:39:15 CEST 2007


Hi

On Sat, Jun 09, 2007 at 09:22:18PM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> 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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070610/1dec3e2d/attachment.pgp>



More information about the ffmpeg-devel mailing list