fftools/ffmpeg_enc: constify the subtitle passed to enc_subtitle()

This commit is contained in:
Anton Khirnov
2023-06-14 16:35:46 +02:00
parent e89a6d1089
commit fa717baaa5
2 changed files with 2 additions and 2 deletions

View File

@@ -816,7 +816,7 @@ int enc_alloc(Encoder **penc, const AVCodec *codec);
void enc_free(Encoder **penc);
int enc_open(OutputStream *ost, AVFrame *frame);
void enc_subtitle(OutputFile *of, OutputStream *ost, AVSubtitle *sub);
void enc_subtitle(OutputFile *of, OutputStream *ost, const AVSubtitle *sub);
void enc_frame(OutputStream *ost, AVFrame *frame);
void enc_flush(void);