Commit 1c51df2
authored
client_examples: explicitly include avcodec.h for ffmpeg example
Build fails with the master branch of FFmpeg with these kinds of errors:
```
../client_examples/vnc2mpg.c:55:5: error: unknown type name ‘AVCodecContext’
AVCodecContext *enc;
^~~~~~~~~~~~~~
```
This patch adds `libavcodec/avcodec.h` in vnc2mpg.c1 parent 81ebe5e commit 1c51df2
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments