• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

split frame in 3 plane problem

omfarka

Lurker
hello everybody,

i want to ask a question about my broken frames in my project.

i am using ffmpeg funtions to work efficiently and when i get frame it looks like this:(This is a sample)

oz021.jpg


this is my function in code

buffer=malloc(numBytes);

avpicture_fill((AVPicture *)pFrameRGB, buffer, PIX_FMT_RGB24,
pCodecCtx->width, pCodecCtx->height);


how can i fix this problem?
 
Back
Top Bottom