On Tue, Nov 26, 2013 at 3:46 PM, Anton Khirnov <[email protected]> wrote:
> The line setting it was mistakenly removed in
The line setting was mistakenly removed in
> ecf442a58b09bdb1dc1d2c3904b82ac5f79b2878
> ---
> libavformat/mxfdec.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
> index 91aded6..0dd3f75 100644
> --- a/libavformat/mxfdec.c
> +++ b/libavformat/mxfdec.c
> @@ -1556,8 +1556,10 @@ static int mxf_parse_structural_metadata(MXFContext
> *mxf)
> }
> if (descriptor->extradata) {
> st->codec->extradata = av_mallocz(descriptor->extradata_size +
> FF_INPUT_BUFFER_PADDING_SIZE);
> - if (st->codec->extradata)
> + if (st->codec->extradata) {
> memcpy(st->codec->extradata, descriptor->extradata,
> descriptor->extradata_size);
> + st->codec->extradata_size = descriptor->extradata_size;
> + }
> } else if (st->codec->codec_id == AV_CODEC_ID_H264) {
> ret = ff_generate_avci_extradata(st);
> if (ret < 0)
> --
Ok
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel