On Tue, Jun 14, 2011 at 02:37:29PM -0500, Luca Barbato wrote:
> On 6/14/11 2:35 PM, Ronald S. Bultje wrote:
>> ---
>>   ffmpeg.c |    1 +
>>   1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> --- a/ffmpeg.c
>> +++ b/ffmpeg.c
>> @@ -684,6 +684,7 @@ static int read_ffserver_streams(AVFormatContext *s, 
>> const char *filename)
>>           // FIXME: a more elegant solution is needed
>>           st = av_mallocz(sizeof(AVStream));
>>           memcpy(st, ic->streams[i], sizeof(AVStream));
>> +        st->info = NULL;
>>           st->codec = avcodec_alloc_context();
>>           if (!st->codec) {
>>               print_error(filename, AVERROR(ENOMEM));
>
> ok

No, not OK - the log message completely sucks.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to