You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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>
This commit is contained in:
@@ -362,7 +362,7 @@ static av_cold int XAVS_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
/* TAG: Do we have GLOBAL HEADER in AVS */
|
/* TAG: Do we have GLOBAL HEADER in AVS */
|
||||||
/* We Have PPS and SPS 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;
|
xavs_nal_t *nal;
|
||||||
int nnal, s, i, size;
|
int nnal, s, i, size;
|
||||||
uint8_t *p;
|
uint8_t *p;
|
||||||
|
Reference in New Issue
Block a user