Revision 705c6520

View differences:

ffplay.c
1937 1937
/* copy samples for viewing in editor window */
1938 1938
static void update_sample_display(VideoState *is, short *samples, int samples_size)
1939 1939
{
1940
    int size, len, channels;
1941

  
1942
    channels = is->audio_st->codec->channels;
1940
    int size, len;
1943 1941

  
1944 1942
    size = samples_size / sizeof(short);
1945 1943
    while (size > 0) {

Also available in: Unified diff