Merge commit '23aae62c2cb4504a09ceb8cd0cabc1c8b260f521'
* commit '23aae62c2cb4504a09ceb8cd0cabc1c8b260f521': alsdec: Check k used for rice decoder. avfiltergraph: silence an uninitialized variable warning xsubenc: reindent lavc: replace AVCodecContext.encode with subtitle-specific callback lavc: add const to private codec class initialization. avconv: don't pass a bogus parameter to avfilter_graph_create_filter(). id3v2: strdup the genre name explicitly. lavf/id3v2: do not export empty fields. buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame() lavfi: replace empty input/output lists with null pointers Conflicts: ffmpeg_filter.c libavcodec/alsdec.c libavcodec/dvdsubenc.c libavcodec/utils.c libavcodec/v210dec.h libavfilter/af_channelsplit.c libavfilter/avfiltergraph.c libavfilter/buffersrc.c libavfilter/src_movie.c libavfilter/vf_ass.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -104,10 +104,9 @@ static const ASSCodesCallbacks mov_text_callbacks = {
|
||||
};
|
||||
|
||||
static int mov_text_encode_frame(AVCodecContext *avctx, unsigned char *buf,
|
||||
int bufsize, void *data)
|
||||
int bufsize, const AVSubtitle *sub)
|
||||
{
|
||||
MovTextContext *s = avctx->priv_data;
|
||||
AVSubtitle *sub = data;
|
||||
ASSDialog *dialog;
|
||||
int i, len, num;
|
||||
|
||||
@@ -157,6 +156,6 @@ AVCodec ff_movtext_encoder = {
|
||||
.id = AV_CODEC_ID_MOV_TEXT,
|
||||
.priv_data_size = sizeof(MovTextContext),
|
||||
.init = mov_text_encode_init,
|
||||
.encode = mov_text_encode_frame,
|
||||
.encode_sub = mov_text_encode_frame,
|
||||
.close = mov_text_encode_close,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user