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