Hi, On Tue, Jun 14, 2011 at 6:57 PM, Diego Biurrun <[email protected]> wrote: > @@ -1893,9 +1890,7 @@ static int subtitle_thread(void *arg) > /* copy samples for viewing in editor window */ > static void update_sample_display(VideoState *is, short *samples, int > samples_size) > { > - int size, len, channels; > - > - channels = is->audio_st->codec->channels; > + int size, len; > > size = samples_size / sizeof(short); > while (size > 0) {
This one is OK. > if (s->nb_streams < 1) /* no luck so far */ > return -1; > /* now read the first chunk, so we can attempt to decode more info */ > - err = nsv_read_chunk(s, 1); > + nsv_read_chunk(s, 1); > > av_dlog(s, "parsed header\n"); > return 0; return 0 -> return err? Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
