On 06/04/15 21:04, Anton Khirnov wrote:
That function currently does two things -- reinitializing the DSP
contexts and setting low_delay based on the SPS values.
The former more appropriately belongs in h264_slice_header_init(), while
the latter only really makes sense in decode_slice_header().
The third call to ff_h264_set_parameter_from_sps(), done immediately
after parsing a new SPS, appears to serve no useful purpose, so it is
just dropped.
Also, drop now unneeded H264Context.cur_chroma_format_idc.
---
libavcodec/h264.c | 43 -------------------------------------------
libavcodec/h264.h | 3 ---
libavcodec/h264_slice.c | 40 +++++++++++++++++++++++++++++++---------
3 files changed, 31 insertions(+), 55 deletions(-)
Ok.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel