Unified · Split
| @@ -433,15 +433,14 @@ typedef struct AVInputFormat { · 432 unmodified lines | ||
| 433 | 433 | |
| 434 | 434 | /** |
| 435 | 435 | * Read the format header and initialize the AVFormatContext |
| 436 | − * structure. Return 0 if OK. 'ap' if non-NULL contains | |
| 437 | − * additional parameters. Only used in raw format right | |
| 438 | − * now. 'av_new_stream' should be called to create new streams. | |
| 436 | + * structure. Return 0 if OK. Only used in raw format right | |
| 437 | + * now. 'avformat_new_stream' should be called to create new streams. | |
| 439 | 438 | */ |
| 440 | 439 | int (*read_header)(struct AVFormatContext *); |
| 441 | 440 | |
| 442 | 441 | /** |
| 443 | 442 | * Read one packet and put it in 'pkt'. pts and flags are also |
| 444 | − * set. 'av_new_stream' can be called only if the flag | |
| 443 | + * set. 'avformat_new_stream' can be called only if the flag | |
| 445 | 444 | * AVFMTCTX_NOHEADER is used and only in the calling thread (not in a |
| 446 | 445 | * background thread). |
| 447 | 446 | * @return 0 on success, < 0 on error. |