diff --git a/examples/transcoding/main.go b/examples/transcoding/main.go index 3df0188..3bf897d 100644 --- a/examples/transcoding/main.go +++ b/examples/transcoding/main.go @@ -265,7 +265,7 @@ func openOutputFile() (err error) { } // Get codec id - codecID := astiav.CodecIDMpeg4 + codecID := astiav.CodecIDH264 if s.decCodecContext.MediaType() == astiav.MediaTypeAudio { codecID = astiav.CodecIDAac }