diff options
Diffstat (limited to 'rotord/avCodec.cpp')
| -rw-r--r-- | rotord/avCodec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/avCodec.cpp b/rotord/avCodec.cpp index 61c201b..36b92a6 100644 --- a/rotord/avCodec.cpp +++ b/rotord/avCodec.cpp @@ -308,7 +308,7 @@ static void avCodec::video_encode_example(const char *filename, int codec_id) printf("Encode video file %s\n", filename); /* find the mpeg1 video encoder */ - codec =avcodec_find_encoder(codec_id); + codec =avcodec_find_encoder((AVCodecID)codec_id); if (!codec) { fprintf(stderr, "Codec not found\n"); exit(1); |
