> From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> On Behalf Of
> Josh Brewster
> Hi Linjie, thanks for the feedback. I have changed the patch to use the right
> parameter. I only made sure that the level was positive because its initial
> value was -1.
> > else if (x4->params.i_level_idc >= 0) {
> Let me know if I need to reject 0 too. It seemed like premature optimization
> as the level simply wouldn't be present in x264_levels.
I'd say yes, level_idc = 0 is possible but invalid by PARSE_X264_OPT(), which  
seems
make no sense to calculate refs from x264_levels[] table.

- Linjie


_______________________________________________
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".

Reply via email to