On Fri, Jul 10, 2015 at 10:56 AM, Anton Khirnov <[email protected]> wrote:
> Quoting wm4 (2015-07-10 11:43:41)
>> On Thu,  9 Jul 2015 20:22:57 +0200
>> Anton Khirnov <[email protected]> wrote:
>>
>> > ---
>> >  libavcodec/Makefile               |   1 +
>> >  libavcodec/allcodecs.c            |   1 +
>> >  libavcodec/hevc_mp4toannexb_bsf.c | 186 
>> > ++++++++++++++++++++++++++++++++++++++
>> >  3 files changed, 188 insertions(+)
>> >  create mode 100644 libavcodec/hevc_mp4toannexb_bsf.c
>> >
>>
>> What are your thoughts on messing with the h264_mp4toannexb_bsf.c to
>> support HEVC? (Because someone on ffmpeg-devel tried that and sent a
>> patch.)
>
> Not sure.
>
> There's a bunch of small differences in the format, so there would be a
> lot of if (hevc) <hevc> else <h264>everywhere, which would make it
> uglier. And since the overall size of this thing is below 200 lines
> including copyright header, I'm not sure it's worth it.
>
> Besides, I think my code is safer and more readable, mainly due to using
> bytestream2. So if anything, I'd convert the current h264 bsf to this.

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

Reply via email to