On Thu, Jun 9, 2016 at 4:46 PM, Anton Khirnov <an...@khirnov.net> wrote:
> Quoting Vittorio Giovara (2016-06-09 22:42:30)
>> On Thu, Jun 9, 2016 at 4:36 PM, Anton Khirnov <an...@khirnov.net> wrote:
>> > Quoting Vittorio Giovara (2016-06-02 02:00:03)
>> >> ---
>> >> I left the context extradata unchanged, and I process the new extradata
>> >> directly. This fixed the crash at decoder_close.
>> >> Vittorio
>> >>
>> >>  libavcodec/h264.c | 15 +++++++++++++++
>> >>  1 file changed, 15 insertions(+)
>> >>
>> >> diff --git a/libavcodec/h264.c b/libavcodec/h264.c
>> >> index 224ba2f..869b528 100644
>> >> --- a/libavcodec/h264.c
>> >> +++ b/libavcodec/h264.c
>> >> @@ -1042,6 +1042,21 @@ out:
>> >>          return buf_index;
>> >>      }
>> >>
>> >> +    if (h->is_avc) {
>> >
>> > Why this condition?
>>
>> because the extradata change from the container can only happen with
>> avc1 files, extradata change from the embedded stream (annexb) is
>> already supported as far as i understand
>
> I assume you're talking about in-stream parameter sets. Those are
> supported, but nothing prevents you from having out of band parameter
> set updates with annex b as well.

Yes i was referring to in-stream parameter sets.
Ok I'll drop the condition then
-- 
Vittorio
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to