Project

General

Profile

ffaudio-core.cc.diff

Jim Turner, August 08, 2022 17:49

View differences:

src/ffaudio/ffaudio-core.cc
444 444
    if (! find_codec (ic.get (), & cinfo))
445 445
        return false;
446 446

  
447
    tuple.set_int (Tuple::Length, ic->duration / 1000);
447
    if ((int)ic->duration != 0)
448
	    tuple.set_int (Tuple::Length, ic->duration / 1000);
448 449
    tuple.set_int (Tuple::Bitrate, ic->bit_rate / 1000);
449 450

  
450 451
    if (cinfo.codec->long_name)