diff --git a/DLGPlayer/codec/DLGPlayerDecoder.m b/DLGPlayer/codec/DLGPlayerDecoder.m index e67c9cc..a08297a 100644 --- a/DLGPlayer/codec/DLGPlayerDecoder.m +++ b/DLGPlayer/codec/DLGPlayerDecoder.m @@ -71,6 +71,7 @@ - (BOOL)open:(NSString *)url error:(NSError **)error { } // 1. Init + av_register_all(); avformat_network_init(); // 2. Open Input