Am Sa., 4. Mai 2019 um 15:01 Uhr schrieb Shivam Goyal <[email protected]>:
>
> On 04-05-2019 15:15, Hendrik Leppkes wrote:
>
> > On Sat, May 4, 2019 at 10:52 AM Shivam Goyal <[email protected]> wrote:
> >
> >> The improved patch is for ticket #5154.
> >>
> >> Support for Raw h264 stream from Arecont Camera.
> >>
> >> Suggest any changes required.
> >
> > The format-name based check in ff_raw_read_partial_packet is really
> > iffy. You can setup a specific read function in the AVInputFormat
> > struct, just can't use the macro to set it up then. Also keep the
> > probe and read function in the same file then.
>
> Thanks for your suggestion.
> Yeah, the name based check is not good. but i thought that, as the macro
> is not taking any packet reading function as argument then there is no
> other way.
Just create a new file with a new demuxer and don't use the macro.
And please fix the formatting of "} else {" (one line).
Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".