diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-30 21:16:33 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-30 21:16:33 +0100 |
commit | 957a593cd95b15a5dcb2f50306fbac59f09d8e9e (patch) | |
tree | ba5d5dcebb42cdae76d088ad4b443b86ad9f484b /libavformat | |
parent | 8f025f2f6055cf534d3276b4aef491a912336cd2 (diff) | |
download | ffmpeg-957a593cd95b15a5dcb2f50306fbac59f09d8e9e.tar.gz |
flvdemux: export flags for nellymoser through side data.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/flvdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 469e9890ba..1095f95b7b 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -580,6 +580,8 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt) pkt->dts = dts; pkt->pts = pts == AV_NOPTS_VALUE ? dts : pts; pkt->stream_index = st->index; + if(st->codec->codec_id == CODEC_ID_NELLYMOSER) + av_packet_new_side_data(pkt, 'F', 1)[0]= flags; if ( stream_type == FLV_STREAM_TYPE_AUDIO || ((flags & FLV_VIDEO_FRAMETYPE_MASK) == FLV_FRAME_KEY) || |