-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Open and close the codec only if extradata is available (#59)
Opening and closing the codec in order to flush the buffer could lead to corrupted decoded frames (x264 version < 151). On the other side just flushing the buffer could lead to garbage decoded frames when SPS/PPS is available only in the header. This is based on AkarinVS/L-SMASH-Works@3d2f02e.
- Loading branch information
Showing
1 changed file
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters