This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
lavf: initialize demuxer private options.
tags/n0.8
Anton Khirnov
14 years ago
parent
6c117d43c9
commit
9749cdf775
1 changed files
with
4 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
libavformat/utils.c
+ 4
- 0
libavformat/utils.c
View File
@@ -424,6 +424,10 @@ int av_open_input_stream(AVFormatContext **ic_ptr,
err = AVERROR(ENOMEM);
err = AVERROR(ENOMEM);
goto fail;
goto fail;
}
}
if (fmt->priv_class) {
*(const AVClass**)ic->priv_data = fmt->priv_class;
av_opt_set_defaults(ic->priv_data);
}
} else {
} else {
ic->priv_data = NULL;
ic->priv_data = NULL;
}
}
Write
Preview
Loading…
Cancel
Save