mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-02-17 19:50:35 +01:00
Set AVFMT_FLAG_KEEP_SIDE_DATA when demuxing m4a, if the demuxer migth need it
This commit is contained in:
parent
f4da0776b4
commit
8484697c4b
@ -49,6 +49,9 @@ int main(int argc, char *argv[]) {
|
||||
av_register_all();
|
||||
avformat_network_init();
|
||||
ret = avformat_open_input(&in, infile, NULL, NULL);
|
||||
#ifdef AVFMT_FLAG_KEEP_SIDE_DATA
|
||||
in->flags |= AVFMT_FLAG_KEEP_SIDE_DATA;
|
||||
#endif
|
||||
if (ret < 0) {
|
||||
char buf[100];
|
||||
av_strerror(ret, buf, sizeof(buf));
|
||||
|
Loading…
x
Reference in New Issue
Block a user