On 2016-06-09 10:29:48 +0200, Anton Khirnov wrote: > There is no bitstream parsing in that block and messing with > decoder-global state is not something that belongs into header parsing. > > Nothing else in this function depends on the value of current_slice, > except for two validity checks. Those checks are also moved out of > slice_header_parse(). > --- > libavcodec/h264_slice.c | 68 > ++++++++++++++++++++++++------------------------- > 1 file changed, 33 insertions(+), 35 deletions(-)
ok Janne _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel