Unified · Split
| @@ -38,6 +38,12 @@ struct ogg_codec { · 37 unmodified lines | |||
| 38 | * -1 if an error occurred or for unsupported stream | 38 | * -1 if an error occurred or for unsupported stream |
| 39 | */ | 39 | */ |
| 40 | int (*header)(AVFormatContext *, int); | 40 | int (*header)(AVFormatContext *, int); |
| 41 | /** | ||
| 42 | * Attempt to process a packet as a data packet | ||
| 43 | * @return < 0 (AVERROR) code or -1 on error | ||
| 44 | * == 0 if the packet was a regular data packet. | ||
| 45 | * == 0 or 1 if the packet was a header from a chained bitstream. | ||
| 46 | */ | ||
| 41 | int (*packet)(AVFormatContext *, int); | 47 | int (*packet)(AVFormatContext *, int); |
| 42 | /** | 48 | /** |
| 43 | * Translate a granule into a timestamp. | 49 | * Translate a granule into a timestamp. |