summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc_aac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtpenc_aac.c')
-rw-r--r--libavformat/rtpenc_aac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpenc_aac.c b/libavformat/rtpenc_aac.c
index f835183ac3..fad8ea2a5b 100644
--- a/libavformat/rtpenc_aac.c
+++ b/libavformat/rtpenc_aac.c
@@ -33,7 +33,7 @@ void ff_rtp_send_aac(AVFormatContext *s1, const uint8_t *buff, int size)
uint8_t *p;
/* skip ADTS header, if present */
- if ((s1->streams[0]->codec->extradata_size) == 0) {
+ if ((s1->streams[0]->codecpar->extradata_size) == 0) {
size -= 7;
buff += 7;
}