Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Using new libav CODEC_ID values.
Signed-off-by: Michel Verbraak <info@1st-setup.nl>
  • Loading branch information
1stsetup authored and perexg committed Sep 1, 2014
1 parent 6f7ddb3 commit 8989eb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/muxer/muxer_libav.c
Expand Up @@ -375,10 +375,10 @@ lav_muxer_write_pkt(muxer_t *m, streaming_message_type_t smt, void *data)

av_init_packet(&packet);

if(st->codec->codec_id == CODEC_ID_MPEG2VIDEO)
if(st->codec->codec_id == AV_CODEC_ID_MPEG2VIDEO)
pkt = pkt_merge_header(pkt);

if(lm->lm_h264_filter && st->codec->codec_id == CODEC_ID_H264) {
if(lm->lm_h264_filter && st->codec->codec_id == AV_CODEC_ID_H264) {
if(av_bitstream_filter_filter(lm->lm_h264_filter,
st->codec,
NULL,
Expand Down

0 comments on commit 8989eb0

Please sign in to comment.