[FFmpeg-cvslog] avcodec/libxavs: disable global header code
Michael Niedermayer
git at videolan.org
Sat Dec 6 19:12:53 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec 6 18:55:50 2014 +0100| [6be36ef3c123845a34902245f9863e4067a2d9be] | committer: Michael Niedermayer
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 at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6be36ef3c123845a34902245f9863e4067a2d9be
---
libavcodec/libxavs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c
index ed86b61..b061259 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;
More information about the ffmpeg-cvslog
mailing list