[FFmpeg-devel] [PATCH] avformat/mxfdec: check if source_package is NULL
Marton Balint
cus at passwd.hu
Sat Jun 11 22:18:52 CEST 2016
On Tue, 31 May 2016, Marton Balint wrote:
> Fixes ticket #5554.
>
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
> libavformat/mxfdec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
> index f8cf922..9bf676c 100644
> --- a/libavformat/mxfdec.c
> +++ b/libavformat/mxfdec.c
> @@ -1914,7 +1914,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
> break;
> }
> }
> - if (!source_track || !component)
> + if (!source_track || !component || !source_package)
> continue;
>
> if (!(source_track->sequence = mxf_resolve_strong_ref(mxf, &source_track->sequence_ref, Sequence))) {
Ping.
Thanks,
Marton
More information about the ffmpeg-devel
mailing list