ffmpeg | branch: master | Michael Niedermayer <[email protected]> | 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 <[email protected]> > 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; _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
