Unified · Split
| @@ -93,10 +93,10 @@ static int init(struct sd *sd) · 92 unmodified lines | ||
| 93 | 93 | AVCodecContext *ctx = NULL; |
| 94 | 94 | const AVCodec *sub_codec = avcodec_find_decoder(cid); |
| 95 | 95 | if (!sub_codec) |
| 96 | − goto error; | |
| 96 | + goto error_probe; | |
| 97 | 97 | ctx = avcodec_alloc_context3(sub_codec); |
| 98 | 98 | if (!ctx) |
| 99 | − goto error; | |
| 99 | + goto error_probe; | |
| 100 | 100 | |
| 101 | 101 | mp_set_avopts(sd->log, ctx, sd->opts->sub_avopts); |
| 102 | 102 | |