diff au.c @ 5:39c4c4336486 libavformat

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
author michaelni
date Wed, 04 Dec 2002 10:04:03 +0000
parents 05318cf2e886
children a58a8a53eb46
line wrap: on
line diff
--- a/au.c	Sat Nov 30 17:16:32 2002 +0000
+++ b/au.c	Wed Dec 04 10:04:03 2002 +0000
@@ -143,6 +143,8 @@
     st = av_malloc(sizeof(AVStream));
     if (!st)
         return -1;
+    avcodec_get_context_defaults(&st->codec);
+
     s->nb_streams = 1;
     s->streams[0] = st;