fix error check in examples (#492)

This commit is contained in:
Alessandro Ros
2024-01-01 19:53:42 +01:00
committed by GitHub
parent 7b1ea5a38a
commit 013a8d8463
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ func main() {
// setup H264 -> raw frames decoder
frameDec := &h264Decoder{}
frameDec.initialize()
err = frameDec.initialize()
if err != nil {
panic(err)
}