]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aac_afh.c
server: Move ->size from mmd to struct vss_task.
[paraslash.git] / aac_afh.c
index 1c7fd706f0a7c9fe8c9d4d8db43846be18a9304d..12ce82df8c7fa5df9371fdac7437fd85043be2ab 100644 (file)
--- a/aac_afh.c
+++ b/aac_afh.c
@@ -183,8 +183,6 @@ static int aac_set_chunk_tv(struct afh_info *afhi,
        struct timeval total;
        long unsigned ms;
 
-       if (!mp4ASC->samplingFrequency)
-               return -E_MP4ASC;
        ms = 1000.0 * afhi->chunks_total * tmp / mp4ASC->samplingFrequency;
        ms2tv(ms, &total);
        tv_divide(afhi->chunks_total, &total, &afhi->chunk_tv);