leandromoreira / ffmpeg-libav-tutorial

FFmpeg libav tutorial - learn how media works from basic to transmuxing, transcoding and more. Translations: πŸ‡ΊπŸ‡Έ πŸ‡¨πŸ‡³ πŸ‡°πŸ‡· πŸ‡ͺπŸ‡Έ πŸ‡»πŸ‡³ πŸ‡§πŸ‡·
https://github.com/leandromoreira/ffmpeg-libav-tutorial
BSD 3-Clause "New" or "Revised" License
9.93k stars 956 forks source link

define pCodec #130

Open AndreiCherniaev opened 11 months ago

AndreiCherniaev commented 11 months ago

pCodec is undefuned in README.md But it is defined in example

I think you should mark that pCodec = pLocalCodec OR use AVCodecContext *pCodecContext = avcodec_alloc_context3(pLocalCodec); in README.md