Opened 12 years ago

Closed 12 years ago

#5116 closed defect (duplicate)

avcodec_encode_video is not checked in NuppelVideoRecorder::WriteVideo()

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no


At line 3082 there is a call to avcodec_encode_video() that call can return -1. Which is an error condition. If it did, then the return value might be used (as a negative number. It should be checked and reported.

Attachments (1)

libs_libmythtv_NuppelVideoRecorder.cpp-check-avcodec_encode_video-return-value.patch (1.0 KB) - added by Erik Hovland <erik@…> 12 years ago.
checks avcodec_encode_video before progressing

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Erik Hovland <erik@…>

checks avcodec_encode_video before progressing

comment:1 Changed 12 years ago by danielk

Resolution: duplicate
Status: newclosed

dup #5298

Note: See TracTickets for help on using tickets.