Fixes: memleak (of vlc) Fixes: 430343927/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMACKAUD_fuzzer-5265858979233792
Unified · Split
| @@ -668,7 +668,7 @@ static int smka_decode_frame(AVCodecContext *avctx, AVFrame *frame, · 667 unmodified lines | ||
| 668 | 668 | } |
| 669 | 669 | |
| 670 | 670 | if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) |
| 671 | − return ret; | |
| 671 | + goto error; | |
| 672 | 672 | samples = (int16_t *)frame->data[0]; |
| 673 | 673 | samples8 = frame->data[0]; |
| 674 | 674 | |