On 07/02/2012 01:16 PM, Martin Storsjö wrote:
> 
> Do you think some code could be shared with flv_set_video_codec or
> flv_set_audio_codec? The problem is that they do other stuff (initialize
> extradata, set sample rates and such) so that there still remains a bit
> of code in them even if you'd split out e.g. a
> flv_video_flags_to_codec_id or so.

I had a look before writing those simplified functions, they do
something different and gets a bit unwieldy. I'd consider rewriting the
whole read_packet function later.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to