Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -636,7 +636,7 @@ static int slice_to_vbi_lines(TeletextContext *ctx, uint8_t* buf, int size) · 635 unmodified lines | |||
| 636 | return lines; | 636 | return lines; |
| 637 | } | 637 | } |
| 638 | 638 | ||
| 639 | static int teletext_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *pkt) | 639 | static int teletext_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *pkt) |
| 640 | { | 640 | { |
| 641 | TeletextContext *ctx = avctx->priv_data; | 641 | TeletextContext *ctx = avctx->priv_data; |
| 642 | AVSubtitle *sub = data; | 642 | AVSubtitle *sub = data; |
| @@ -724,9 +724,9 @@ FF_ENABLE_DEPRECATION_WARNINGS · 81 unmodified lines | |||
| 724 | ctx->nb_pages--; | 724 | ctx->nb_pages--; |
| 725 | 725 | ||
| 726 | if (ret >= 0) | 726 | if (ret >= 0) |
| 727 | *data_size = 1; | 727 | *got_sub_ptr = 1; |
| 728 | } else | 728 | } else |
| 729 | *data_size = 0; | 729 | *got_sub_ptr = 0; |
| 730 | 730 | ||
| 731 | return ret; | 731 | return ret; |
| 732 | } | 732 | } |