On 04-05-2019 15:15, Hendrik Leppkes wrote: > On Sat, May 4, 2019 at 10:52 AM Shivam Goyal <shi...@iitk.ac.in> 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. I have gotten the idea of assigning a read function in AVInputFormat struct, but as the avformat_open_input() probes and assigns the packet reading function then how to change this, and when to change this ( at the time of reading the header? ). Thank you Shivam Goyal _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".