History

Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat

Anton Khirnov committed 14 years ago

Commit 716d4131 parent 78071a1296 files · +2494 −2493Browse files

Showing the changes to libavcodec/api-example.c (1 of 296 files). Show all

Unified · Split

libavcodec/api-example.c+1−1
@@ -345,7 +345,7 @@ static void video_encode_example(const char *filename) · 344 unmodified lines
345 c->time_base= (AVRational){1,25};345 c->time_base= (AVRational){1,25};
346 c->gop_size = 10; /* emit one intra frame every ten frames */346 c->gop_size = 10; /* emit one intra frame every ten frames */
347 c->max_b_frames=1;347 c->max_b_frames=1;
348 c->pix_fmt = PIX_FMT_YUV420P;348 c->pix_fmt = AV_PIX_FMT_YUV420P;
349 349
350 /* open it */350 /* open it */
351 if (avcodec_open2(c, codec, NULL) < 0) {351 if (avcodec_open2(c, codec, NULL) < 0) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t