| 677 | #endif |
| 678 | |
| 679 | int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, |
| 680 | int *got_sub_ptr, |
| 681 | AVPacket *avpkt) |
| 682 | { |
| 683 | int ret; |
| 684 | |
| 685 | *got_sub_ptr = 0; |
| 686 | ret = avctx->codec->decode(avctx, sub, got_sub_ptr, avpkt); |
| 687 | if (*got_sub_ptr) |
| 688 | avctx->frame_number++; |
| 689 | return ret; |
| 690 | } |
| 691 | |
| 692 | av_cold int avcodec_close(AVCodecContext *avctx) |
| 693 | { |
no outgoing calls
no test coverage detected