Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah8-Jul-16 3:47
FriendOfAsherah8-Jul-16 3:47 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
leon de boer8-Jul-16 18:25
leon de boer8-Jul-16 18:25 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah10-Jul-16 20:32
FriendOfAsherah10-Jul-16 20:32 
AnswerRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah13-Jul-16 0:45
FriendOfAsherah13-Jul-16 0:45 
AnswerRe: Overloading methods with identical content in lot of derived classes Pin
Krishnakumartg19-Jul-16 20:14
Krishnakumartg19-Jul-16 20:14 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah19-Jul-16 23:06
FriendOfAsherah19-Jul-16 23:06 
QuestionCMFCRibbonBar High DPI Pin
Paul Harrison 26-Jul-16 7:12
Paul Harrison 26-Jul-16 7:12 
QuestionInternet Explorer Pin
Member 125311295-Jul-16 2:58
Member 125311295-Jul-16 2:58 
AnswerRe: Internet Explorer Pin
Chris Losinger5-Jul-16 5:12
professionalChris Losinger5-Jul-16 5:12 
GeneralRe: Internet Explorer Pin
Member 125311295-Jul-16 20:16
Member 125311295-Jul-16 20:16 
QuestionSuport for MFC Pin
Bram van Kampen3-Jul-16 14:15
Bram van Kampen3-Jul-16 14:15 
AnswerRe: Suport for MFC Pin
Daniel Pfeffer3-Jul-16 20:50
professionalDaniel Pfeffer3-Jul-16 20:50 
GeneralRe: Suport for MFC Pin
Bram van Kampen4-Jul-16 14:19
Bram van Kampen4-Jul-16 14:19 
AnswerRe: Suport for MFC Pin
Jochen Arndt3-Jul-16 21:12
professionalJochen Arndt3-Jul-16 21:12 
GeneralRe: Suport for MFC Pin
Bram van Kampen4-Jul-16 13:59
Bram van Kampen4-Jul-16 13:59 
GeneralRe: Suport for MFC Pin
Jochen Arndt4-Jul-16 21:34
professionalJochen Arndt4-Jul-16 21:34 
AnswerRe: Suport for MFC Pin
leon de boer4-Jul-16 20:55
leon de boer4-Jul-16 20:55 
GeneralRe: Suport for MFC Pin
Bram van Kampen10-Jul-16 16:49
Bram van Kampen10-Jul-16 16:49 
QuestionHow to handle runtime access violation exception Pin
Django_Untaken3-Jul-16 11:18
Django_Untaken3-Jul-16 11:18 
AnswerRe: How to handle runtime access violation exception Pin
Bram van Kampen3-Jul-16 14:32
Bram van Kampen3-Jul-16 14:32 
AnswerRe: How to handle runtime access violation exception Pin
Jochen Arndt3-Jul-16 21:29
professionalJochen Arndt3-Jul-16 21:29 
An access violation is not only thrown when a memory pointer is NULL. Often NULL pointers are even allowed as arguments.

In your case you have to check the members of the passed structures. See the documentation for the used function: FFmpeg: Encoding[^]. There is information about the structure members and links to the structure type descriptions. Note that you must not only check the buffer pointer members but also the size members and probably others. An access violation may for example occur when the size member indicates a size larger than the real buffer size.

The above link indicates also that the function is deprecated. If you have upgraded to a new FFmpeg version, consider to use replacement functions.
AnswerRe: How to handle runtime access violation exception Pin
leon de boer4-Jul-16 20:46
leon de boer4-Jul-16 20:46 
QuestionProblem with C++ arrays. Pin
Ratul Thakur30-Jun-16 3:15
Ratul Thakur30-Jun-16 3:15 
AnswerRe: Problem with C++ arrays. Pin
jeron130-Jun-16 4:17
jeron130-Jun-16 4:17 
AnswerRe: Problem with C++ arrays. Pin
k505430-Jun-16 4:29
mvek505430-Jun-16 4:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.