mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
update to libnut, add cache_syncpoints
Originally committed as revision 7062 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0bc5ccb899
commit
0d666a47a7
@ -198,7 +198,8 @@ static int nut_read_header(AVFormatContext * avf, AVFormatParameters * ap) {
|
|||||||
.file_pos = 0,
|
.file_pos = 0,
|
||||||
},
|
},
|
||||||
.alloc = { av_malloc, av_realloc, av_free },
|
.alloc = { av_malloc, av_realloc, av_free },
|
||||||
.read_index = 1
|
.read_index = 1,
|
||||||
|
.cache_syncpoints = 1,
|
||||||
};
|
};
|
||||||
nut_context_t * nut = priv->nut = nut_demuxer_init(&dopts);
|
nut_context_t * nut = priv->nut = nut_demuxer_init(&dopts);
|
||||||
nut_stream_header_t * s;
|
nut_stream_header_t * s;
|
||||||
|
Loading…
Reference in New Issue
Block a user