]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Using new libav CODEC_ID values.
authorMichel Verbraak <info@1st-setup.nl>
Thu, 28 Aug 2014 20:44:00 +0000 (22:44 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 1 Sep 2014 13:34:22 +0000 (15:34 +0200)
Signed-off-by: Michel Verbraak <info@1st-setup.nl>
src/muxer/muxer_libav.c

index 876dffce5a4901a03c5a6e73f22d873401efa1fb..aeaf6f5828ef42b7ccaa3d888c23419f6fe3c453 100644 (file)
@@ -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,