Opened 11 years ago
Closed 11 years ago
#3220 closed defect (fixed)
mpeg2 decoder crash
Reported by: | K.Y.H | Owned by: | Tomer Barletz |
---|---|---|---|
Priority: | important | Component: | avcodec |
Version: | git-master | Keywords: | mpeg2video crash SIGSEGV regression |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | yes |
Description
Lastest git version, decode "http://pan.baidu.com/s/1kXZkD" crash.
detail desc...
static void mpeg_decode_user_data(AVCodecContext *avctx,
const uint8_t *p, int buf_size)
...
...
...
if (S3D_video_format_type == 0x03
S3D_video_format_type == 0x04 S3D_video_format_type == 0x08 S3D_video_format_type == 0x23) {
Mpeg1Context *s1 = avctx->priv_data;
MpegEncContext *s = &s1->mpeg_enc_ctx;
AVStereo3D *stereo = av_stereo3d_create_side_data(&s->current_picture_ptr->f);
s->current_picture_ptr can be NULL.
So access NULL pointer error.
Attachments (1)
Change History (4)
comment:1 by , 11 years ago
Keywords: | mpeg2video crash SIGSEGV regression added; mpeg2 removed |
---|---|
Reproduced by developer: | set |
Status: | new → open |
by , 11 years ago
Attachment: | The program crashes_cut.ts added |
---|
comment:2 by , 11 years ago
Analyzed by developer: | set |
---|---|
Owner: | set to |
Fixed by fe285b04bbad23ddfac164e22034b5ee76e039a6.
Note:
See TracTickets
for help on using tickets.
Regression since 1dab49c3 / bacc2869