]> granicus.if.org Git - rtmpdump/commitdiff
Revert unintended commit
authorhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Mon, 24 May 2010 13:28:35 +0000 (13:28 +0000)
committerhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Mon, 24 May 2010 13:28:35 +0000 (13:28 +0000)
git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@482 400ebc74-4327-4243-bc38-086b20814532

librtmp/rtmp.c

index 0b6a59244004240a29035d629237b2353e507bf6..c79ccb92c3a4c96ea45c924950db25b5e75a56c0 100644 (file)
@@ -2550,13 +2550,11 @@ HandleMetadata(RTMP *r, char *body, unsigned int len)
          r->m_fDuration = prop.p_vu.p_number;
          /*RTMP_Log(RTMP_LOGDEBUG, "Set duration: %.2f", m_fDuration); */
        }
-#if 0
       /* Search for audio or video tags */
       if (RTMP_FindPrefixProperty(&obj, &av_video, &prop))
         r->m_read.dataType |= 1;
       if (RTMP_FindPrefixProperty(&obj, &av_audio, &prop))
         r->m_read.dataType |= 4;
-#endif
       ret = true;
     }
   AMF_Reset(&obj);