[FFmpeg-devel] [PATCH 3/5] cbs_h2645: Implement copy-functions for parameter sets

2018-11-26 Thread Andreas Rheinhardt
and use them to replace the context's parameter sets. This fixes a dangling pointers problem with the parameter sets held in the CodedBitstreamH26xContext that occurs when the parameter sets were not reference-counted initially. The functions to free the parameter sets that have a special free

[FFmpeg-devel] [PATCH 3/5] cbs_h2645: Implement copy-functions for parameter sets

2018-11-23 Thread Andreas Rheinhardt
and use them to replace the context's parameter sets. This fixes a dangling pointers problem with the parameter sets held in the CodedBitstreamH26xContext that occurs when the parameter sets were not reference-counted initially. The functions to free the parameter sets that have a special free