Open developer0hye opened 2 years ago
@leandromoreira
Could you review this PR?
The official example code also uses const*.
https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/decode_video.c#L86
Thanks @developer0hye did you test using the current docker ffmpeg image to see if everything works fine?
@leandromoreira Sorry, I didn't check it with current docker ffmpeg image. After checking it, I will tell you about it.
ffmpeg
Thank you :)
The return type of
avcodec_find_decoder
is changedAvcodec*
toconst AVCodec*
.
I have the same commit please check.
Thanks for writing the great tutorial!
I found some problem having been following your code.
The return type of
avcodec_find_decoder
is changedAvcodec*
toconst AVCodec*
.https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/codec.h#L266