From 1e491e29c27cf6a6925666e4f4eac41b65e263d7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 4 Dec 2002 10:04:03 +0000 Subject: cleanup adding AVVideoFrame moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame removing obsolete variables in AVCodecContext skiping of MBs in b frames correctly initalizing AVCodecContext picture buffer cleanup Originally committed as revision 1302 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/au.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/au.c') diff --git a/libavformat/au.c b/libavformat/au.c index 8c3d62a595..b584d8d4f5 100644 --- a/libavformat/au.c +++ b/libavformat/au.c @@ -143,6 +143,8 @@ static int au_read_header(AVFormatContext *s, st = av_malloc(sizeof(AVStream)); if (!st) return -1; + avcodec_get_context_defaults(&st->codec); + s->nb_streams = 1; s->streams[0] = st; -- cgit v1.2.3