brookicv / FFMPEG-study

学习FFMPEG的一些代码示例
139 stars 77 forks source link

Update API to fit newest API of FFmpeg & SDL 2 #3

Open hedyhefty opened 5 years ago

hedyhefty commented 5 years ago

Replace depreciated API of FFmpeg, up to date with FFmpeg4.2. Fix the "no sound output" issue occured with SDL 2.10. Reorder much of the code, place init code together and add wait loop instead of use getchar() to wait, make the logic much clearer than before.