Skip to content
Snippets Groups Projects
Commit 6be36ef3 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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: default avatarMichael Niedermayer <michaelni@gmx.at>
parent c149f67e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment