diff options
author | James Almer <jamrial@gmail.com> | 2021-02-03 20:55:27 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-17 15:19:36 -0300 |
commit | 98a776b5e32c3c7b535d34f9645757b242114d63 (patch) | |
tree | d422611f35f42a0922bbb198cb90973b9d721782 /libavformat/subtitles.h | |
parent | fd23efb20b701e5074cfaa6e9afc0e176c5e771a (diff) | |
download | ffmpeg-98a776b5e32c3c7b535d34f9645757b242114d63.tar.gz |
avformat/subtitles: use av_packet_alloc() to allocate packets
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/subtitles.h')
-rw-r--r-- | libavformat/subtitles.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/subtitles.h b/libavformat/subtitles.h index 6b418e3621..ca769639be 100644 --- a/libavformat/subtitles.h +++ b/libavformat/subtitles.h @@ -100,7 +100,7 @@ int ff_text_peek_r8(FFTextReader *r); void ff_text_read(FFTextReader *r, char *buf, size_t size); typedef struct { - AVPacket *subs; ///< array of subtitles packets + AVPacket **subs; ///< array of subtitles packets int nb_subs; ///< number of subtitles packets int allocated_size; ///< allocated size for subs int current_sub_idx; ///< current position for the read packet callback |