diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-06 18:55:50 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-06 19:02:32 +0100 |
commit | 6be36ef3c123845a34902245f9863e4067a2d9be (patch) | |
tree | 547a3aa2c9891eaddea62849e2c60f6b303f361c | |
parent | c149f67e9b5b4e3b9061e271e75d441bacfa81c6 (diff) | |
download | ffmpeg-6be36ef3c123845a34902245f9863e4067a2d9be.tar.gz |
avcodec/libxavs: disable global header code
This code only segfaults and fixing the segfault, the resulting
files are unplayable, so disable to avoid the segfault.
Better solution is welcome
See: [FFmpeg-devel] [PATCH] avcodec/libxavs: remove global header code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/libxavs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c index ed86b615f4..b061259009 100644 --- a/libavcodec/libxavs.c +++ b/libavcodec/libxavs.c @@ -362,7 +362,7 @@ static av_cold int XAVS_init(AVCodecContext *avctx) /* TAG: Do we have GLOBAL HEADER in AVS */ /* We Have PPS and SPS in AVS */ - if (avctx->flags & CODEC_FLAG_GLOBAL_HEADER) { + if (avctx->flags & CODEC_FLAG_GLOBAL_HEADER && 0) { xavs_nal_t *nal; int nnal, s, i, size; uint8_t *p; |