[FFmpeg-devel] [PATCH 3/3] avformat/hlsenc:addition of CODECS attribute in the master playlist

Jeyapal, Karthick kjeyapal at akamai.com
Fri Nov 24 13:20:57 EET 2017



On 11/24/17, 4:41 PM, "Carl Eugen Hoyos" <ceffmpeg at gmail.com> wrote:

>2017-11-23 4:37 GMT+01:00  <vdixit at akamai.com>:
>> From: Vishwanath Dixit <vdixit at akamai.com>

>> +    // either provide codec string for both active streams or for none
>> +    if (vid_st && aud_st && (!strlen(vcodec) || !strlen(acodec))) {
>> +        acodec[0] = vcodec[0] = '\0';
>> +        av_log(NULL, AV_LOG_INFO, "Codec string not available for audio or video stream\n");
>
>What happened to this check?

It has been handled indirectly in the new function.
In the new function will hit the else condition and “goto fail”
+        } else {
+            goto fail;
+        }

regards,
Karthick



More information about the ffmpeg-devel mailing list