]> git.sesse.net Git - mlt/commitdiff
Fix compilation error introduced in previous commit.
authorDan Dennedy <dan@dennedy.org>
Sat, 30 Mar 2013 15:20:32 +0000 (08:20 -0700)
committerDan Dennedy <dan@dennedy.org>
Sat, 30 Mar 2013 15:20:32 +0000 (08:20 -0700)
src/modules/avformat/consumer_avformat.c

index eb8101106df5c12292165d63767d4b6d0559606d..2762762df2a479a943f76041870555871f0e2dea 100644 (file)
@@ -1946,7 +1946,7 @@ static void *consumer_thread( void *arg )
                                else if ( !got_packet )
                                        pkt.size = 0;
 #else
-                               codec->frame_size = audio_input_nb_samples;
+                               c->frame_size = audio_input_nb_samples;
                                pkt.size = avcodec_encode_audio( c, audio_outbuf, audio_outbuf_size, p );
 #endif
 #if LIBAVUTIL_VERSION_INT >= ((51<<16)+(17<<8)+0)