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

>2017-11-23 4:37 GMT+01:00  <vdi...@akamai.com>:
>> From: Vishwanath Dixit <vdi...@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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to