Skip to content

Commit

Permalink
ffmpeg-2 -- CodecID
Browse files Browse the repository at this point in the history
  • Loading branch information
eroen committed Nov 21, 2013
1 parent cbcf0de commit 6fe23e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ typedef struct _TSMFFFmpegDecoder
ITSMFDecoder iface;

int media_type;
#if LIBAVCODEC_VERSION_MAJOR < 55
enum CodecID codec_id;
#else
enum AVCodecID codec_id;
#endif
AVCodecContext* codec_context;
AVCodec* codec;
AVFrame* frame;
Expand Down

0 comments on commit 6fe23e1

Please sign in to comment.