Unified · Split
| @@ -1313,6 +1313,7 @@ static int write_extra_headers(AVCodecContext *avctx, · 1312 unmodified lines | ||
| 1313 | 1313 | if (err < 0) |
| 1314 | 1314 | goto fail; |
| 1315 | 1315 | } else { |
| 1316 | + err = 0; | |
| 1316 | 1317 | *data_len = 0; |
| 1317 | 1318 | } |
| 1318 | 1319 | |
| @@ -1473,6 +1473,7 @@ static int write_extra_headers(AVCodecContext *avctx, · 1472 unmodified lines | ||
| 1473 | 1473 | if (err < 0) |
| 1474 | 1474 | goto fail; |
| 1475 | 1475 | } else { |
| 1476 | + err = 0; | |
| 1476 | 1477 | *data_len = 0; |
| 1477 | 1478 | } |
| 1478 | 1479 | |