Using new libav CODEC_ID values.
Signed-off-by: Michel Verbraak <info@1st-setup.nl>
This commit is contained in:
parent
6f7ddb36d3
commit
8989eb0c9c
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue