Replace the calls to the deprecated av_alloc_format_context() with
corresponding calls to avformat_alloc_context(). Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -453,7 +453,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* allocate the output media context */
|
||||
oc = av_alloc_format_context();
|
||||
oc = avformat_alloc_context();
|
||||
if (!oc) {
|
||||
fprintf(stderr, "Memory error\n");
|
||||
exit(1);
|
||||
|
Reference in New Issue
Block a user