diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-18 04:02:44 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-18 04:02:44 +0200 |
commit | 0323a55cd898de087d87e331786d816f7fea966b (patch) | |
tree | f88808506dbe570136073f63bf5171f86ab5a7d8 /libavformat/rtpenc.c | |
parent | 46380e8d261920eed8687eb0eabb8d8726239583 (diff) | |
download | ffmpeg-0323a55cd898de087d87e331786d816f7fea966b.tar.gz |
avformat/rtpenc: switch to AVFMT_FLAG_BITEXACT
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtpenc.c')
-rw-r--r-- | libavformat/rtpenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c index 457fef0cfc..bf9c245161 100644 --- a/libavformat/rtpenc.c +++ b/libavformat/rtpenc.c @@ -127,7 +127,7 @@ static int rtp_write_header(AVFormatContext *s1) // available range, so that any wraparound doesn't happen immediately. // (Immediate wraparound would be an issue for SRTP.) if (s->seq < 0) { - if (st->codec->flags & CODEC_FLAG_BITEXACT) { + if (s1->flags & AVFMT_FLAG_BITEXACT) { s->seq = 0; } else s->seq = av_get_random_seed() & 0x0fff; |