Skip to content

Commit

Permalink
Cherry pick of 14407e1.
Browse files Browse the repository at this point in the history
Author: Egor Leonenko <[email protected]>
Date: 19 décembre 2013 23:36:16 UTC+1

Call avformat_network_init() for all
  • Loading branch information
Jahor authored and MonsieurDart committed Apr 30, 2014
1 parent 88788b0 commit 316f743
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kxmovie/KxMovieDecoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,9 @@ - (CGFloat) startTime

+ (void)initialize
{
av_register_all();
av_log_set_callback(FFLog);
av_register_all();
avformat_network_init();
}

+ (id) movieDecoderWithContentPath: (NSString *) path
Expand Down Expand Up @@ -1616,4 +1618,4 @@ + (NSString *) removeCommandsFromEventText: (NSString *) text
return ms;
}

@end
@end

0 comments on commit 316f743

Please sign in to comment.