Skip to content

Commit

Permalink
Call av_register_all, else playback of local files might fail. DeviLe…
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Meleshko committed Aug 13, 2018
1 parent 3fa4895 commit 8bd9b3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DLGPlayer/codec/DLGPlayerDecoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ - (BOOL)open:(NSString *)url error:(NSError **)error {
}

// 1. Init
av_register_all();
avformat_network_init();

// 2. Open Input
Expand Down

0 comments on commit 8bd9b3e

Please sign in to comment.