refactor: cleanup unused code
This commit is contained in:
parent
941ceaed31
commit
12f9a13c06
1 changed files with 1 additions and 4 deletions
|
|
@ -74,10 +74,7 @@ func LoadAVContext(reader io.Reader, size int64) (*AVContext, error) {
|
|||
if !av.hasVideo {
|
||||
return av, nil
|
||||
}
|
||||
if err := createDecoder(av); err != nil {
|
||||
return av, err
|
||||
}
|
||||
return av, nil
|
||||
return av, createDecoder(av)
|
||||
}
|
||||
|
||||
func (av *AVContext) ProcessFrames(maxFrames int) (err error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue